compatible 5.5.1 build flags?

Hi All,

I’m experiencing a crash in the Kitware provided binary client when connecting to our new 5.5.1 install on Cori. The crash occurs in the client during the initial connection. It looks related to ospray materials (more info below). On the server side the output looks normal, and the server does not crash.

Any chance this could this be fixed so the client doesn’t crash when ospray is not available? Perhaps ospray could be disabled in the client when it is not installed in the server?

Could you please share your -D cmake flags required to get an install compatible with your binary?

Thanks
Burlen

Accepting connection(s): smic.dhcp:12353
Detaching after fork from child process 4371.
Accepting connection(s): smic.dhcp:12353
terminate called after throwing an instance of 'vtkJson::RuntimeError'
what():  * Line 1, Column 1
Syntax error: value, object or array expected.


Program received signal SIGABRT, Aborted.
0x00007fffe0001a28 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
55	  return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);
(gdb) where
#0  0x00007fffe0001a28 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
#1  0x00007fffe000362a in __GI_abort () at abort.c:89
#2  0x00007fffe0936add in __gnu_cxx::__verbose_terminate_handler () at ../../../../libstdc++-v3/libsupc++/vterminate.cc:95
#3  0x00007fffe0934936 in __cxxabiv1::__terminate (handler=<optimized out>) at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:47
#4  0x00007fffe0934981 in std::terminate () at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:57
#5  0x00007fffe0934b99 in __cxxabiv1::__cxa_throw (obj=0x4eca1b0, tinfo=0x7fffea88d688 <typeinfo for vtkJson::RuntimeError>, 
    dest=0x7fffea6802c0 <vtkJson::RuntimeError::~RuntimeError()>) at ../../../../libstdc++-v3/libsupc++/eh_throw.cc:87
#6  0x00007fffea66dbc7 in vtkJson::throwRuntimeError(std::string const&) () from /work/ParaView/ParaView-5.5.1-Qt5-MPI-Linux-64bit/lib/libvtkjsoncpp-pv5.5.so.1
#7  0x00007fffea67f185 in vtkJson::operator>>(std::istream&, vtkJson::Value&) () from /work/ParaView/ParaView-5.5.1-Qt5-MPI-Linux-64bit/lib/libvtkjsoncpp-pv5.5.so.1
#8  0x00007ffff1e51049 in vtkOSPRayMaterialLibrary::InternalParseJSON(char const*, bool, std::istream*) ()
   from /work/ParaView/ParaView-5.5.1-Qt5-MPI-Linux-64bit/lib/libvtkRenderingOSPRay-pv5.5.so.1
#9  0x00007ffff1e52bf5 in vtkOSPRayMaterialLibrary::InternalParse(char const*, bool) () from /work/ParaView/ParaView-5.5.1-Qt5-MPI-Linux-64bit/lib/libvtkRenderingOSPRay-pv5.5.so.1
#10 0x00007ffff639ce29 in vtkPVMaterialLibraryCommand(vtkClientServerInterpreter*, vtkObjectBase*, char const*, vtkClientServerStream const&, vtkClientServerStream&, void*) ()
   from /work/ParaView/ParaView-5.5.1-Qt5-MPI-Linux-64bit/lib/libvtkPVServerManagerApplication-pv5.5.so.1
#11 0x00007fffeffcfd72 in vtkClientServerInterpreter::CallCommandFunction(char const*, vtkObjectBase*, char const*, vtkClientServerStream const&, vtkClientServerStream&) ()
   from /work/ParaView/ParaView-5.5.1-Qt5-MPI-Linux-64bit/lib/libvtkClientServer-pv5.5.so.1
#12 0x00007fffeffd00aa in vtkClientServerInterpreter::ProcessCommandInvoke(vtkClientServerStream const&, int) ()
   from /work/ParaView/ParaView-5.5.1-Qt5-MPI-Linux-64bit/lib/libvtkClientServer-pv5.5.so.1
#13 0x00007fffeffd0bfe in vtkClientServerInterpreter::ProcessOneMessage(vtkClientServerStream const&, int) ()
   from /work/ParaView/ParaView-5.5.1-Qt5-MPI-Linux-64bit/lib/libvtkClientServer-pv5.5.so.1
#14 0x00007fffeffd0f3d in vtkClientServerInterpreter::ProcessStream(vtkClientServerStream const&) ()
   from /work/ParaView/ParaView-5.5.1-Qt5-MPI-Linux-64bit/lib/libvtkClientServer-pv5.5.so.1
#15 0x00007ffff3531cd5 in vtkPVSessionCore::ExecuteStreamInternal(vtkClientServerStream const&, bool) ()
   from /work/ParaView/ParaView-5.5.1-Qt5-MPI-Linux-64bit/lib/libvtkPVServerImplementationCore-pv5.5.so.1
#16 0x00007ffff3531b0b in vtkPVSessionCore::ExecuteStream(unsigned int, vtkClientServerStream const&, bool) ()
   from /work/ParaView/ParaView-5.5.1-Qt5-MPI-Linux-64bit/lib/libvtkPVServerImplementationCore-pv5.5.so.1
#17 0x00007ffff3530805 in vtkPVSessionBase::ExecuteStream(unsigned int, vtkClientServerStream const&, bool) [clone .localalias.5] ()
   from /work/ParaView/ParaView-5.5.1-Qt5-MPI-Linux-64bit/lib/libvtkPVServerImplementationCore-pv5.5.so.1
#18 0x00007ffff38d7b2f in vtkSMSessionClient::ExecuteStream(unsigned int, vtkClientServerStream const&, bool) ()
   from /work/ParaView/ParaView-5.5.1-Qt5-MPI-Linux-64bit/lib/libvtkPVServerManagerCore-pv5.5.so.1
#19 0x00007ffff4ae1078 in vtkSMMaterialLibraryProxy::Synchronize() () from /work/ParaView/ParaView-5.5.1-Qt5-MPI-Linux-64bit/lib/libvtkPVServerManagerRendering-pv5.5.so.1
#20 0x00007ffff3886885 in vtkSMParaViewPipelineController::InitializeSession(vtkSMSession*) ()
   from /work/ParaView/ParaView-5.5.1-Qt5-MPI-Linux-64bit/lib/libvtkPVServerManagerCore-pv5.5.so.1
#21 0x00007ffff6ccf7a3 in pqServerManagerModel::onConnectionCreated(long long) () from /work/ParaView/ParaView-5.5.1-Qt5-MPI-Linux-64bit/lib/libvtkpqCore-pv5.5.so.1
#22 0x00007fffe1ccfad9 in QMetaObject::activate(QObject*, int, int, void**) () from /work/ParaView/ParaView-5.5.1-Qt5-MPI-Linux-64bit/lib/libQt5Core.so.5
#23 0x00007ffff6d0b762 in pqServerManagerObserver::connectionCreated(long long) () from /work/ParaView/ParaView-5.5.1-Qt5-MPI-Linux-64bit/lib/libvtkpqCore-pv5.5.so.1
#24 0x00007ffff6d0bae9 in pqServerManagerObserver::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) ()
   from /work/ParaView/ParaView-5.5.1-Qt5-MPI-Linux-64bit/lib/libvtkpqCore-pv5.5.so.1
#25 0x00007fffe1ccfad9 in QMetaObject::activate(QObject*, int, int, void**) () from /work/ParaView/ParaView-5.5.1-Qt5-MPI-Linux-64bit/lib/libQt5Core.so.5
#26 0x00007ffff50305e7 in vtkQtConnection::EmitExecute(vtkObject*, unsigned long, void*, void*, vtkCommand*) ()
   from /work/ParaView/ParaView-5.5.1-Qt5-MPI-Linux-64bit/lib/libvtkGUISupportQt-pv5.5.so.1
#27 0x00007ffff5020f5c in vtkQtConnection::DoCallback(vtkObject*, unsigned long, void*, void*) ()
   from /work/ParaView/ParaView-5.5.1-Qt5-MPI-Linux-64bit/lib/libvtkGUISupportQt-pv5.5.so.1
#28 0x00007fffe11e8ed9 in vtkCallbackCommand::Execute(vtkObject*, unsigned long, void*) () from /work/ParaView/ParaView-5.5.1-Qt5-MPI-Linux-64bit/lib/libvtkCommonCore-pv5.5.so.1
#29 0x00007fffe13a2c76 in vtkSubjectHelper::InvokeEvent(unsigned long, void*, vtkObject*) () from /work/ParaView/ParaView-5.5.1-Qt5-MPI-Linux-64bit/lib/libvtkCommonCore-pv5.5.so.1
#30 0x00007ffff324bc30 in vtkProcessModule::RegisterSession(vtkSession*) () from /work/ParaView/ParaView-5.5.1-Qt5-MPI-Linux-64bit/lib/libvtkPVClientServerCoreCore-pv5.5.so.1
#31 0x00007ffff38d0011 in vtkSMSession::ReverseConnectToRemote(int, int, bool (*)()) ()
   from /work/ParaView/ParaView-5.5.1-Qt5-MPI-Linux-64bit/lib/libvtkPVServerManagerCore-pv5.5.so.1
#32 0x00007ffff6c8f909 in pqObjectBuilder::createServer(pqServerResource const&) () from /work/ParaView/ParaView-5.5.1-Qt5-MPI-Linux-64bit/lib/libvtkpqCore-pv5.5.so.1
#33 0x00007ffff73d9b45 in pqServerLauncher::connectToPrelaunchedServer() () from /work/ParaView/ParaView-5.5.1-Qt5-MPI-Linux-64bit/lib/libvtkpqComponents-pv5.5.so.1
#34 0x00007ffff73db2ea in pqServerLauncher::connectToServer() () from /work/ParaView/ParaView-5.5.1-Qt5-MPI-Linux-64bit/lib/libvtkpqComponents-pv5.5.so.1
#35 0x00007ffff7ad7d58 in pqServerConnectReaction::connectToServerUsingConfiguration(pqServerConfiguration const&) ()
   from /work/ParaView/ParaView-5.5.1-Qt5-MPI-Linux-64bit/lib/libvtkpqApplicationComponents-pv5.5.so.1
#36 0x00007ffff7ad7f50 in pqServerConnectReaction::connectToServer() () from /work/ParaView/ParaView-5.5.1-Qt5-MPI-Linux-64bit/lib/libvtkpqApplicationComponents-pv5.5.so.1
#37 0x00007ffff7ad7fe3 in pqServerConnectReaction::connectToServerWithWarning() ()
   from /work/ParaView/ParaView-5.5.1-Qt5-MPI-Linux-64bit/lib/libvtkpqApplicationComponents-pv5.5.so.1
#38 0x00007fffe1ccfad9 in QMetaObject::activate(QObject*, int, int, void**) () from /work/ParaView/ParaView-5.5.1-Qt5-MPI-Linux-64bit/lib/libQt5Core.so.5
#39 0x00007fffe26bb0d2 in QAction::triggered(bool) () from /work/ParaView/ParaView-5.5.1-Qt5-MPI-Linux-64bit/lib/libQt5Widgets.so.5
#40 0x00007fffe26bd570 in QAction::activate(QAction::ActionEvent) () from /work/ParaView/ParaView-5.5.1-Qt5-MPI-Linux-64bit/lib/libQt5Widgets.so.5
#41 0x00007fffe2871cd0 in ?? () from /work/ParaView/ParaView-5.5.1-Qt5-MPI-Linux-64bit/lib/libQt5Widgets.so.5
#42 0x00007fffe2871ddc in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /work/ParaView/ParaView-5.5.1-Qt5-MPI-Linux-64bit/lib/libQt5Widgets.so.5
#43 0x00007fffe285169a in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /work/ParaView/ParaView-5.5.1-Qt5-MPI-Linux-64bit/lib/libQt5Widgets.so.5
#44 0x00007fffe26ff5e8 in QWidget::event(QEvent*) () from /work/ParaView/ParaView-5.5.1-Qt5-MPI-Linux-64bit/lib/libQt5Widgets.so.5
#45 0x00007fffe2851769 in QToolButton::event(QEvent*) () from /work/ParaView/ParaView-5.5.1-Qt5-MPI-Linux-64bit/lib/libQt5Widgets.so.5
#46 0x00007fffe26c103c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /work/ParaView/ParaView-5.5.1-Qt5-MPI-Linux-64bit/lib/libQt5Widgets.so.5
#47 0x00007fffe26c8e43 in QApplication::notify(QObject*, QEvent*) () from /work/ParaView/ParaView-5.5.1-Qt5-MPI-Linux-64bit/lib/libQt5Widgets.so.5
#48 0x00007fffe1ca5568 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /work/ParaView/ParaView-5.5.1-Qt5-MPI-Linux-64bit/lib/libQt5Core.so.5
---Type <return> to continue, or q <return> to quit---

This is indeed a critical bug fixed here.

We are planning on a 5.5.2 shortly.

The issue arises from client and server have mismatch in OSPray support enabling state.

Great, thanks Utkarsh!

Utkarsh/ Cory,
Mind waiting until I get good builds here at Sandia? I have a compiler error having to do with vtkm. No idea where that thing crept in…

Sure thing, @wascott.