Hi,
I’ve recently started working on a new OpenFOAM case, and have run into a problem trying to visualise results using paraview. I can open paraview fine, but when I hit apply after opening the .foam file paraview will close, printing “Segementation Fault (Core Dumped)” to the terminal. Weirdly, this only happens when the case is reconstructed. If i decompose it then I can open it in paraview no problem.
I’m using ParaView v5.4.1 on SUSE Enterprise 15 SP1. I’m using the pre-compiled binaries downloaded from the paraview website, not the paraview bundled with OpenFOAM. I’ve also tried using v5.4.0 and v5.8.1 with the same problems. On v5.8.1 the following stack trace is generated:
Loguru caught a signal: SIGSEGV
Stack trace:
59 0x407b5d bin/paraview() [0x407b5d]
58 0x7f80b90bd34a __libc_start_main + 234
57 0x4077ed bin/paraview() [0x4077ed]
56 0x7f80b6c1d0b4 QCoreApplication::exec() + 132
55 0x7f80b6c144aa QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 234
54 0x7f8087829e96 /home/ttjrjw2/Software/Paraview581/plugins/platforms/../../lib/libQt5XcbQpa.so.5(+0xb1e96) [0x7f8087829e96]
53 0x7f80b704862b QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 187
52 0x7f80b706cc15 QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) + 261
51 0x7f80b706b1a3 QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) + 1779
50 0x7f80b6c15c08 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 264
49 0x7f80b8710f01 QApplication::notify(QObject*, QEvent*) + 577
48 0x7f80b8709c8c QApplicationPrivate::notify_helper(QObject*, QEvent*) + 156
47 0x7f80b8762cd3 /home/ttjrjw2/Software/Paraview581/bin/../lib/libQt5Widgets.so.5(+0x1b8cd3) [0x7f80b8762cd3]
46 0x7f80b876042d /home/ttjrjw2/Software/Paraview581/bin/../lib/libQt5Widgets.so.5(+0x1b642d) [0x7f80b876042d]
45 0x7f80b87104ed QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) + 461
44 0x7f80b6c15c08 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 264
43 0x7f80b8711c78 QApplication::notify(QObject*, QEvent*) + 4024
42 0x7f80b8709c8c QApplicationPrivate::notify_helper(QObject*, QEvent*) + 156
41 0x7f80b87469d8 QWidget::event(QEvent*) + 488
40 0x7f80b87fd4c5 QAbstractButton::mouseReleaseEvent(QMouseEvent*) + 213
39 0x7f80b87fd312 /home/ttjrjw2/Software/Paraview581/bin/../lib/libQt5Widgets.so.5(+0x253312) [0x7f80b87fd312]
38 0x7f80b87fc014 /home/ttjrjw2/Software/Paraview581/bin/../lib/libQt5Widgets.so.5(+0x252014) [0x7f80b87fc014]
37 0x7f80b87fbe02 QAbstractButton::clicked(bool) + 50
36 0x7f80b6c41c47 QMetaObject::activate(QObject*, int, int, void**) + 1511
35 0x7f80b7fb78d2 pqPropertiesPanel::apply() + 1106
34 0x7f80b7e87142 pqPropertiesPanel::applied(pqProxy*) + 50
33 0x7f80b6c41c47 QMetaObject::activate(QObject*, int, int, void**) + 1511
32 0x7f80b8cac65a pqApplyBehavior::applied(pqPropertiesPanel*, pqProxy*) + 154
31 0x7f80b8cad8e5 pqApplyBehavior::showData(pqPipelineSource*, pqView*) + 437
30 0x7f80abbfb998 vtkSMParaViewPipelineControllerWithRendering::ShowInPreferredView(vtkSMSourceProxy*, int, vtkSMViewProxy*) + 360
29 0x7f80abbf982b vtkSMParaViewPipelineControllerWithRendering::UpdatePipelineBeforeDisplay(vtkSMSourceProxy*, int, vtkSMViewProxy*) + 155
28 0x7f80b6015a60 vtkSMSourceProxy::UpdatePipeline(double) + 176
27 0x7f80b5f9f8a1 vtkSMOutputPort::UpdatePipelineInternal(double, bool) + 193
26 0x7f80b5f05b75 vtkPVSessionBase::ExecuteStream(unsigned int, vtkClientServerStream const&, bool) + 53
25 0x7f80b5f06abb vtkPVSessionCore::ExecuteStream(unsigned int, vtkClientServerStream const&, bool) + 59
24 0x7f80b5f06c85 vtkPVSessionCore::ExecuteStreamInternal(vtkClientServerStream const&, bool) + 245
23 0x7f80b5484ddd vtkClientServerInterpreter::ProcessStream(vtkClientServerStream const&) + 29
22 0x7f80b5484aae vtkClientServerInterpreter::ProcessOneMessage(vtkClientServerStream const&, int) + 1198
21 0x7f80b5483fea vtkClientServerInterpreter::ProcessCommandInvoke(vtkClientServerStream const&, int) + 330
20 0x7f80b5483cf5 vtkClientServerInterpreter::CallCommandFunction(char const*, vtkObjectBase*, char const*, vtkClientServerStream const&, vtkClientServerStream&) + 325
19 0x7f80ad0ddee3 vtkSISourceProxyCommand(vtkClientServerInterpreter*, vtkObjectBase*, char const*, vtkClientServerStream const&, vtkClientServerStream&, void*) + 1507
18 0x7f80b5f41d24 vtkSISourceProxy::UpdatePipeline(int, double, bool) + 484
17 0x7f80b158ff1f vtkStreamingDemandDrivenPipeline::Update(int, vtkInformationVector*) + 255
16 0x7f80b1550f9a vtkDemandDrivenPipeline::UpdateData(int) + 138
15 0x7f80b158e9c1 vtkStreamingDemandDrivenPipeline::ProcessRequest(vtkInformation*, vtkInformationVector**, vtkInformationVector*) + 801
14 0x7f80b1551fc6 vtkDemandDrivenPipeline::ProcessRequest(vtkInformation*, vtkInformationVector**, vtkInformationVector*) + 262
13 0x7f80b154b83a vtkCompositeDataPipeline::ForwardUpstream(vtkInformation*) + 330
12 0x7f80b158e9c1 vtkStreamingDemandDrivenPipeline::ProcessRequest(vtkInformation*, vtkInformationVector**, vtkInformationVector*) + 801
11 0x7f80b1552467 vtkDemandDrivenPipeline::ProcessRequest(vtkInformation*, vtkInformationVector**, vtkInformationVector*) + 1447
10 0x7f80b154cac1 vtkCompositeDataPipeline::ExecuteData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) + 257
9 0x7f80b154f8c7 vtkDemandDrivenPipeline::ExecuteData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) + 55
8 0x7f80b1555330 vtkExecutive::CallAlgorithm(vtkInformation*, int, vtkInformationVector**, vtkInformationVector*) + 64
7 0x7f809b821432 vtkPOpenFOAMReader::RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) + 786
6 0x7f809aa5429e vtkOpenFOAMReader::RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) + 1278
5 0x7f809aa52f3a /home/ttjrjw2/Software/Paraview581/bin/../lib/libvtkIOGeometry-pv5.8.so.1(+0xe1f3a) [0x7f809aa52f3a]
4 0x7f809aa430a5 /home/ttjrjw2/Software/Paraview581/bin/../lib/libvtkIOGeometry-pv5.8.so.1(+0xd20a5) [0x7f809aa430a5]
3 0x7f809aa67f4c /home/ttjrjw2/Software/Paraview581/bin/../lib/libvtkIOGeometry-pv5.8.so.1(+0xf6f4c) [0x7f809aa67f4c]
2 0x7f809aa5ab7e /home/ttjrjw2/Software/Paraview581/bin/../lib/libvtkIOGeometry-pv5.8.so.1(+0xe9b7e) [0x7f809aa5ab7e]
1 0x7f80b913ea63 /lib64/libc.so.6(+0xa5a63) [0x7f80b913ea63]
0 0x7f80b90d25a0 /lib64/libc.so.6(+0x395a0) [0x7f80b90d25a0]
( 64.966s) [paraview ] :0 FATL| Signal: SIGSEGV
Segmentation fault (core dumped)
I was wondering if anyone had encountered similar problems, or knew of a way to fix this, apologies if this is the wrong place to post. I’ve also posted the problem to CFD Online at the following link:
Many thanks,
Jack