Segmentation fault in Paraview

Hi, I have installed Paraview in my Ubuntu 22.04 system using "sudo apt-get install paraview. After installation I opened paraview but got following error

Loguru caught a signal: SIGSEGV
Stack trace:
89 0x56448581b3f5 paraview(+0xd3f5) [0x56448581b3f5]
88 0x7fab97e29e40 __libc_start_main + 128
87 0x7fab97e29d90 /usr/bin/…/lib/x86_64-linux-gnu/libc.so.6(+0x29d90) [0x7fab97e29d90]
86 0x56448581a04c paraview(+0xc04c) [0x56448581a04c]
85 0x7fab973aefe3 QWidgetPrivate::setVisible(bool) + 419
84 0x7fab973abe23 QWidgetPrivate::show_helper() + 83
83 0x7fab973abd89 QWidgetPrivate::showChildren(bool) + 329
82 0x7fab973aefe3 QWidgetPrivate::setVisible(bool) + 419
81 0x7fab973abe23 QWidgetPrivate::show_helper() + 83
80 0x7fab973abd89 QWidgetPrivate::showChildren(bool) + 329
79 0x7fab973aefe3 QWidgetPrivate::setVisible(bool) + 419
78 0x7fab973abe23 QWidgetPrivate::show_helper() + 83
77 0x7fab973abd89 QWidgetPrivate::showChildren(bool) + 329
76 0x7fab973aefe3 QWidgetPrivate::setVisible(bool) + 419
75 0x7fab973abe23 QWidgetPrivate::show_helper() + 83
74 0x7fab973abd89 QWidgetPrivate::showChildren(bool) + 329
73 0x7fab973aefe3 QWidgetPrivate::setVisible(bool) + 419
72 0x7fab973abe23 QWidgetPrivate::show_helper() + 83
71 0x7fab973abda9 QWidgetPrivate::showChildren(bool) + 361
70 0x7fab973abe23 QWidgetPrivate::show_helper() + 83
69 0x7fab973abd89 QWidgetPrivate::showChildren(bool) + 329
68 0x7fab973aefe3 QWidgetPrivate::setVisible(bool) + 419
67 0x7fab973abe23 QWidgetPrivate::show_helper() + 83
66 0x7fab973abda9 QWidgetPrivate::showChildren(bool) + 361
65 0x7fab973abe23 QWidgetPrivate::show_helper() + 83
64 0x7fab973abd89 QWidgetPrivate::showChildren(bool) + 329
63 0x7fab973aefe3 QWidgetPrivate::setVisible(bool) + 419
62 0x7fab973abe23 QWidgetPrivate::show_helper() + 83
61 0x7fab973abd89 QWidgetPrivate::showChildren(bool) + 329
60 0x7fab973aefe3 QWidgetPrivate::setVisible(bool) + 419
59 0x7fab973abe23 QWidgetPrivate::show_helper() + 83
58 0x7fab973abd89 QWidgetPrivate::showChildren(bool) + 329
57 0x7fab973aefe3 QWidgetPrivate::setVisible(bool) + 419
56 0x7fab973abe07 QWidgetPrivate::show_helper() + 55
55 0x7fab973a7366 QWidgetPrivate::sendPendingMoveAndResizeEvents(bool, bool) + 326
54 0x7fab960b9e3a QCoreApplication::notifyInternal2(QObject*, QEvent*) + 314
53 0x7fab9736c713 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 131
52 0x7fab973aff6c QWidget::event(QEvent*) + 3212
51 0x7fab973cec2f QOpenGLWidget::resizeEvent(QResizeEvent*) + 175
50 0x7fab973a743a QWidgetPrivate::sendPaintEvent(QRegion const&) + 58
49 0x7fab960b9e3a QCoreApplication::notifyInternal2(QObject*, QEvent*) + 314
48 0x7fab9736c713 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 131
47 0x7fab973af4ee QWidget::event(QEvent*) + 526
46 0x7fab973cedcd /usr/bin/…/lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x1cedcd) [0x7fab973cedcd]
45 0x7fab97d21e94 QVTKOpenGLNativeWidget::paintGL() + 100
44 0x7fab97d1c749 /usr/bin/…/lib/x86_64-linux-gnu/libvtkGUISupportQt-pv5.10.so.1(+0x2e749) [0x7fab97d1c749]
43 0x7fab95581a3f vtkObject::InvokeEvent(unsigned long, void*) + 991
42 0x7fab93a25a12 vtkSMViewProxy::InteractiveRender() + 338
41 0x7fab95ab349a vtkPVSessionBase::ExecuteStream(unsigned int, vtkClientServerStream const&, bool) + 122
40 0x7fab95abca2b vtkPVSessionCore::ExecuteStreamInternal(vtkClientServerStream const&, bool) + 251
39 0x7fab96af44e5 vtkClientServerInterpreter::ProcessStream(vtkClientServerStream const&) + 37
38 0x7fab96af401d vtkClientServerInterpreter::ProcessOneMessage(vtkClientServerStream const&, int) + 237
37 0x7fab96af38cd vtkClientServerInterpreter::ProcessCommandInvoke(vtkClientServerStream const&, int) + 1197
36 0x7fab93f50478 vtkPVRenderViewCommand(vtkClientServerInterpreter*, vtkObjectBase*, char const*, vtkClientServerStream const&, vtkClientServerStream&, void*) + 6648
35 0x7fab939992ce vtkPVRenderView::InteractiveRender() + 142
34 0x7fab9399ee8f vtkPVRenderView::Render(bool, bool) + 1999
33 0x7fab920b5b85 vtkGenericOpenGLRenderWindow::Render() + 277
32 0x7fab921353bb vtkOpenGLRenderWindow::Render() + 187
31 0x7fab937331d6 vtkRenderWindow::Render() + 486
30 0x7fab93733615 vtkRenderWindow::DoStereoRender() + 645
29 0x7fab9373ad71 vtkRendererCollection::Render() + 161
28 0x7fab9373f8a5 vtkRenderer::Render() + 2613
27 0x7fab9213ef55 vtkOpenGLRenderer::DeviceRender() + 677
26 0x7fab9213b81b vtkOpenGLRenderer::UpdateGeometry(vtkFrameBufferObjectBase*) + 2635
25 0x7fab920c0335 vtkOpenGLFXAAFilter::Execute(vtkOpenGLRenderer*) + 69
24 0x7fab920c00c9 vtkOpenGLFXAAFilter::ApplyFilter() + 345
23 0x7fab921274bf vtkOpenGLQuadHelper::vtkOpenGLQuadHelper(vtkOpenGLRenderWindow*, char const*, char const*, char const*) + 319
22 0x7fab9213fbb0 vtkOpenGLShaderCache::ReadyShaderProgram(char const*, char const*, char const*, vtkTransformFeedback*) + 496
21 0x7fab9214489c vtkOpenGLShaderCache::ReadyShaderProgram(vtkShaderProgram*, vtkTransformFeedback*) + 236
20 0x7fab921b31bd vtkShaderProgram::CompileShader() + 3901
19 0x7fab921a6ca4 vtkShaderProgram::Link() + 820
18 0x7fa9ce39154f /usr/lib/x86_64-linux-gnu/dri/r600_dri.so(+0x39154f) [0x7fa9ce39154f]
17 0x7fa9ce3b246c /usr/lib/x86_64-linux-gnu/dri/r600_dri.so(+0x3b246c) [0x7fa9ce3b246c]
16 0x7fa9ce3d19c2 /usr/lib/x86_64-linux-gnu/dri/r600_dri.so(+0x3d19c2) [0x7fa9ce3d19c2]
15 0x7fa9ce3d4bae /usr/lib/x86_64-linux-gnu/dri/r600_dri.so(+0x3d4bae) [0x7fa9ce3d4bae]
14 0x7fa9ce183a23 /usr/lib/x86_64-linux-gnu/dri/r600_dri.so(+0x183a23) [0x7fa9ce183a23]
13 0x7fa9ce1834cb /usr/lib/x86_64-linux-gnu/dri/r600_dri.so(+0x1834cb) [0x7fa9ce1834cb]
12 0x7fa9ce182e8e /usr/lib/x86_64-linux-gnu/dri/r600_dri.so(+0x182e8e) [0x7fa9ce182e8e]
11 0x7fa9ce18266d /usr/lib/x86_64-linux-gnu/dri/r600_dri.so(+0x18266d) [0x7fa9ce18266d]
10 0x7fa9ce797778 /usr/lib/x86_64-linux-gnu/dri/r600_dri.so(+0x797778) [0x7fa9ce797778]
9 0x7fa9ce797584 /usr/lib/x86_64-linux-gnu/dri/r600_dri.so(+0x797584) [0x7fa9ce797584]
8 0x7fa9ce83ea81 /usr/lib/x86_64-linux-gnu/dri/r600_dri.so(+0x83ea81) [0x7fa9ce83ea81]
7 0x7fa9ce7cead2 /usr/lib/x86_64-linux-gnu/dri/r600_dri.so(+0x7cead2) [0x7fa9ce7cead2]
6 0x7fa9ce7f0874 /usr/lib/x86_64-linux-gnu/dri/r600_dri.so(+0x7f0874) [0x7fa9ce7f0874]
5 0x7fa9ce7f02c9 /usr/lib/x86_64-linux-gnu/dri/r600_dri.so(+0x7f02c9) [0x7fa9ce7f02c9]
4 0x7fa9ce7eefc4 /usr/lib/x86_64-linux-gnu/dri/r600_dri.so(+0x7eefc4) [0x7fa9ce7eefc4]
3 0x7fa9ce7eb8ad /usr/lib/x86_64-linux-gnu/dri/r600_dri.so(+0x7eb8ad) [0x7fa9ce7eb8ad]
2 0x7fa9ce7ebeae /usr/lib/x86_64-linux-gnu/dri/r600_dri.so(+0x7ebeae) [0x7fa9ce7ebeae]
1 0x7fa9ce85ff29 /usr/lib/x86_64-linux-gnu/dri/r600_dri.so(+0x85ff29) [0x7fa9ce85ff29]
0 0x7fab97e42520 /usr/bin/…/lib/x86_64-linux-gnu/libc.so.6(+0x42520) [0x7fab97e42520]
( 1.457s) [paraview ] :0 FATL| Signal: SIGSEGV
Segmentation fault (core dumped)

This looks like a crash in your video driver. Are they up-to-date?

Cc: @Sankhesh_Jhaveri

@M_Kumar That is indeed a graphics driver crash. Which AMD card is this on?
Can you run glxinfo or eglinfo?

Here is the output of glxinfo
glxinfo (145.3 KB)

Thanks. It seems like you should be able to create a valid OpenGL 4.5 context. Although, you’re using an older AMD card with a newer Mesa driver. From https://videocardz.net/gpu/ati-cedar, the card supports OpenGL v4.4. There could be inconsistencies. Have you tried a proprietary AMD driver?

Thanks. I can see the problem. Removed AMD driver with Nvidia card and driver and It worked. But thanks for pointing out the exact error.