Hello to the ParaView crew,
We faced a bug with Paraview 5.8.0 in the live visualization of VTKRectilinearGrid. A minimal driver example can be found here
driver-bug-report.tar.gz (6.4 KB)
To run the example, create a build directory, cd inside it and run:
- cmake -DUSE_CATALYST=ON -DCMAKE_BUILD_TYPE=Release -DParaView_VERSION=5.8 ..
- cmake --build .
- mpirun -np 2 ./CxxRectilinearGridExample <yourpath>/driver-bug-report/SampleScripts/feslicescript.py
The example correctly writes the pvtr files, but it makes paraview crash when trying to visualize them live. The slices are correctly visualized also live.
The error on crash is:
- from pvbatch side:
( 26.192s) [pvbatch.0 ]vtkMultiProcessControll:175 WARN| vtkRectilinearGrid cannot be merged
( 29.532s) [pvbatch.0 ]vtkSocketCommunicator.c:786 ERR| vtkSocketCommunicator (0x4fd7d50): Could not receive tag. 1
( 29.532s) [pvbatch.0 ]vtkMultiProcessControll:640 ERR| vtkSocketController (0x5137940): Could not receive RMI trigger message.
- from paraview GUI:
Loguru caught a signal: SIGSEGV
Stack trace:
26 0x40c2ca paraview() [0x40c2ca]
25 0x7f17426cac05 __libc_start_main + 245
24 0x40bf8a paraview() [0x40bf8a]
23 0x7f173679da40 QCoreApplication::exec() + 128
22 0x7f17367948fa QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 298
21 0x7f17367f4e9c QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 92
20 0x7f172756567c g_main_context_iteration + 44
19 0x7f17275654a0 /gpfs/work/cin_staff/amemmol1/spack/install/linux-centos7-broadwell/gcc-7.3.0/glib-2.64.3-k2kdvetrok6m2sitzabkk43q44acilpx/lib/libglib-2.0.so.0(+0x5c4a0) [0x7f17275654a0]
18 0x7f17275651c2 g_main_context_dispatch + 1362
17 0x7f17367f4b7c /gpfs/work/cin_staff/amemmol1/spack/install/linux-centos7-broadwell/gcc-7.3.0/qt-5.14.2-zzcqf63o4xs4prosv7a6w3gdvxbu2y4c/lib/libQt5Core.so.5(+0x2f3b7c) [0x7f17367f4b7c]
16 0x7f17367f4146 QTimerInfoList::activateTimers() + 1622
15 0x7f1736795f08 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 280
14 0x7f1738ecc6ff QApplication::notify(QObject*, QEvent*) + 703
13 0x7f1738ec59dc QApplicationPrivate::notify_helper(QObject*, QEvent*) + 156
12 0x7f17367c7feb QObject::event(QEvent*) + 139
11 0x7f17367d3cc8 QTimer::timerEvent(QTimerEvent*) + 40
10 0x7f17367d3997 QTimer::timeout(QTimer::QPrivateSignal) + 39
9 0x7f17367cfda3 /gpfs/work/cin_staff/amemmol1/spack/install/linux-centos7-broadwell/gcc-7.3.0/qt-5.14.2-zzcqf63o4xs4prosv7a6w3gdvxbu2y4c/lib/libQt5Core.so.5(+0x2ceda3) [0x7f17367cfda3]
8 0x7f1741366c7d /gpfs/work/cin_staff/amemmol1/spack/install/linux-centos7-broadwell/gcc-7.3.0/paraview-5.8.0-mb6kqq7wn5eysif3hhs4btlcgwhv3xin/lib64/libpqCore-pv5.8.so.1(+0x131c7d) [0x7f1741366c7d]
7 0x7f1741333029 pqServer::processServerNotification() + 169
6 0x7f173b916362 vtkTCPNetworkAccessManager::ProcessEventsInternal(unsigned long, bool) + 690
5 0x7f173c4339de vtkMultiProcessController::ProcessRMIs(int, int) + 334
4 0x7f173c43338b vtkMultiProcessController::ProcessRMI(int, void*, int, int) + 299
3 0x7f1736e8ac1c /gpfs/work/cin_staff/amemmol1/spack/install/linux-centos7-broadwell/gcc-7.3.0/paraview-5.8.0-mb6kqq7wn5eysif3hhs4btlcgwhv3xin/lib64/libvtkPVServerManagerKit-pv5.8.so.1(+0x211c1c) [0x7f1736e8ac1c]
2 0x7f1736e89ef7 vtkLiveInsituLink::OnInsituPostProcess(double, long long) + 199
1 0x7f1736e8199b vtkExtractsDeliveryHelper::Update() + 907
0 0x7f17426de270 /lib64/libc.so.6(+0x35270) [0x7f17426de270]
( 356.906s) [paraview ] :0 FATL| Signal: SIGSEGV
Segmentation fault (core dumped)
Thanks to anybody (and perhaps we can add our example to the Catalyst example list, which lacks the VTKRectilinearGrid).
Cheers
Antonio