Random crashes in ParaView 5.10.0-RC1 when VisRTX on osmesa
This crash randomly happen sometimes while rotating the camera.
To reproduce this:
- Launch a pvserver instance using osmesa
- Launch a paraview process and connect to a pvserver using osmesa
- Load all the plugins for at the remote side
- Load all the plugins for at the local side
- open any of the examples
- Rotate the figure and zoom in/out, trying with different raytracing backends
Here is the stderr output when this happens:
→ ./bin/paraview
VisRTX 0.1.6, using devices:
0: Quadro P1000 (Total: 4.2 GB, Available: 4.2 GB)
( 169.303s) [paraview ] FrameBuffer.h:76 ERR| VISRTX Error: Could not get color texture.
( 169.303s) [paraview ] FrameBuffer.h:89 ERR| VISRTX Error: Could not get depth texture.
( 170.040s) [paraview ] FrameBuffer.h:76 ERR| VISRTX Error: Could not get color texture.
( 170.040s) [paraview ] FrameBuffer.h:89 ERR| VISRTX Error: Could not get depth texture.
( 179.916s) [paraview ] FrameBuffer.h:76 ERR| VISRTX Error: Could not get color texture.
( 179.916s) [paraview ] FrameBuffer.h:89 ERR| VISRTX Error: Could not get depth texture.
( 182.234s) [paraview ] FrameBuffer.h:76 ERR| VISRTX Error: Could not get color texture.
( 182.234s) [paraview ] FrameBuffer.h:89 ERR| VISRTX Error: Could not get depth texture.
( 185.067s) [paraview ] FrameBuffer.h:76 ERR| VISRTX Error: Could not get color texture.
( 185.067s) [paraview ] FrameBuffer.h:89 ERR| VISRTX Error: Could not get depth texture.
( 185.158s) [paraview ] FrameBuffer.h:76 ERR| VISRTX Error: Could not get color texture.
( 185.158s) [paraview ] FrameBuffer.h:89 ERR| VISRTX Error: Could not get depth texture.
( 185.251s) [paraview ] FrameBuffer.h:76 ERR| VISRTX Error: Could not get color texture.
( 185.252s) [paraview ] FrameBuffer.h:89 ERR| VISRTX Error: Could not get depth texture.
( 185.334s) [paraview ] FrameBuffer.h:76 ERR| VISRTX Error: Could not get color texture.
( 185.334s) [paraview ] FrameBuffer.h:89 ERR| VISRTX Error: Could not get depth texture.
( 185.509s) [paraview ] FrameBuffer.h:76 ERR| VISRTX Error: Could not get color texture.
( 185.509s) [paraview ] FrameBuffer.h:89 ERR| VISRTX Error: Could not get depth texture.
( 185.592s) [paraview ] FrameBuffer.h:76 ERR| VISRTX Error: Could not get color texture.
( 185.592s) [paraview ] FrameBuffer.h:89 ERR| VISRTX Error: Could not get depth texture.
( 185.670s) [paraview ] FrameBuffer.h:76 ERR| VISRTX Error: Could not get color texture.
( 185.670s) [paraview ] FrameBuffer.h:89 ERR| VISRTX Error: Could not get depth texture.
( 185.761s) [paraview ] FrameBuffer.h:76 ERR| VISRTX Error: Could not get color texture.
( 185.761s) [paraview ] FrameBuffer.h:89 ERR| VISRTX Error: Could not get depth texture.
( 233.901s) [paraview ] FrameBuffer.h:76 ERR| VISRTX Error: Could not get color texture.
( 233.902s) [paraview ] FrameBuffer.h:89 ERR| VISRTX Error: Could not get depth texture.
terminate called after throwing an instance of 'optix::Exception'
what(): Already mapped (Details: Function "RTresult bufferMap(RTbuffer, unsigned int, unsigned int, void*, void**)" caught exception: Buffer is already mapped)
Loguru caught a signal: SIGABRT
Stack trace:
[truncated]
123 0x7fdd0f0635bf /home/vicente/Downloads/paraview/plain/ParaView-5.10.0-RC1-MPI-Linux-Python3.9-x86_64/bin/../lib/libQt5Widgets.so.5(+0x1995bf) [0x7fdd0f0635bf]
122 0x7fdd0f05ca40 QWidget::setGeometry(QRect const&) + 128
121 0x7fdd0f05bd4c QWidgetPrivate::setGeometry_sys(int, int, int, int, bool) + 684
120 0x7fdd0d046dd8 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 280
119 0x7fdd0f02d260 QApplication::notify(QObject*, QEvent*) + 704
118 0x7fdd0f02615a QApplicationPrivate::notify_helper(QObject*, QEvent*) + 106
117 0x7fdd0f0429d8 QLayoutPrivate::doResize(QSize const&) + 264
116 0x7fdd0f041617 QGridLayout::setGeometry(QRect const&) + 87
115 0x7fdd0f040a95 /home/vicente/Downloads/paraview/plain/ParaView-5.10.0-RC1-MPI-Linux-Python3.9-x86_64/bin/../lib/libQt5Widgets.so.5(+0x176a95) [0x7fdd0f040a95]
114 0x7fdd0f04645b QWidgetItem::setGeometry(QRect const&) + 267
113 0x7fdd0f05ca40 QWidget::setGeometry(QRect const&) + 128
112 0x7fdd0f05bd4c QWidgetPrivate::setGeometry_sys(int, int, int, int, bool) + 684
111 0x7fdd0d046dd8 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 280
110 0x7fdd0f02d260 QApplication::notify(QObject*, QEvent*) + 704
109 0x7fdd0f02615a QApplicationPrivate::notify_helper(QObject*, QEvent*) + 106
108 0x7fdd0f0429d8 QLayoutPrivate::doResize(QSize const&) + 264
107 0x7fdd0f041617 QGridLayout::setGeometry(QRect const&) + 87
106 0x7fdd0f040a95 /home/vicente/Downloads/paraview/plain/ParaView-5.10.0-RC1-MPI-Linux-Python3.9-x86_64/bin/../lib/libQt5Widgets.so.5(+0x176a95) [0x7fdd0f040a95]
105 0x7fdd0f04645b QWidgetItem::setGeometry(QRect const&) + 267
104 0x7fdd0f05ca40 QWidget::setGeometry(QRect const&) + 128
103 0x7fdd0f05bd4c QWidgetPrivate::setGeometry_sys(int, int, int, int, bool) + 684
102 0x7fdd0d046dd8 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 280
101 0x7fdd0f02d260 QApplication::notify(QObject*, QEvent*) + 704
100 0x7fdd0f02618c QApplicationPrivate::notify_helper(QObject*, QEvent*) + 156
99 0x7fdd0f0640ae QWidget::event(QEvent*) + 1582
98 0x7fdd0f1dae25 QTabWidget::setUpLayout(bool) + 357
97 0x7fdd0f05ca40 QWidget::setGeometry(QRect const&) + 128
96 0x7fdd0f05bd4c QWidgetPrivate::setGeometry_sys(int, int, int, int, bool) + 684
95 0x7fdd0d046dd8 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 280
94 0x7fdd0f02d260 QApplication::notify(QObject*, QEvent*) + 704
93 0x7fdd0f02615a QApplicationPrivate::notify_helper(QObject*, QEvent*) + 106
92 0x7fdd0f0429d8 QLayoutPrivate::doResize(QSize const&) + 264
91 0x7fdd0f05ca40 QWidget::setGeometry(QRect const&) + 128
90 0x7fdd0f05bd4c QWidgetPrivate::setGeometry_sys(int, int, int, int, bool) + 684
89 0x7fdd0d046dd8 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 280
88 0x7fdd0f02d260 QApplication::notify(QObject*, QEvent*) + 704
87 0x7fdd0f02615a QApplicationPrivate::notify_helper(QObject*, QEvent*) + 106
86 0x7fdd0f0429d8 QLayoutPrivate::doResize(QSize const&) + 264
85 0x7fdd0f03c730 QBoxLayout::setGeometry(QRect const&) + 448
84 0x7fdd0f04645b QWidgetItem::setGeometry(QRect const&) + 267
83 0x7fdd0f05ca40 QWidget::setGeometry(QRect const&) + 128
82 0x7fdd0f05bd4c QWidgetPrivate::setGeometry_sys(int, int, int, int, bool) + 684
81 0x7fdd0d046dd8 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 280
80 0x7fdd0f02d260 QApplication::notify(QObject*, QEvent*) + 704
79 0x7fdd0f02615a QApplicationPrivate::notify_helper(QObject*, QEvent*) + 106
78 0x7fdd0f0429d8 QLayoutPrivate::doResize(QSize const&) + 264
77 0x7fdd0de92c2b pqHierarchicalGridLayout::setGeometry(QRect const&) + 2267
76 0x7fdd0f04645b QWidgetItem::setGeometry(QRect const&) + 267
75 0x7fdd0f05ca40 QWidget::setGeometry(QRect const&) + 128
74 0x7fdd0f05bd4c QWidgetPrivate::setGeometry_sys(int, int, int, int, bool) + 684
73 0x7fdd0d046dd8 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 280
72 0x7fdd0f02d260 QApplication::notify(QObject*, QEvent*) + 704
71 0x7fdd0f02615a QApplicationPrivate::notify_helper(QObject*, QEvent*) + 106
70 0x7fdd0f0429d8 QLayoutPrivate::doResize(QSize const&) + 264
69 0x7fdd0f03c730 QBoxLayout::setGeometry(QRect const&) + 448
68 0x7fdd0f04645b QWidgetItem::setGeometry(QRect const&) + 267
67 0x7fdd0f05ca40 QWidget::setGeometry(QRect const&) + 128
66 0x7fdd0f05bd4c QWidgetPrivate::setGeometry_sys(int, int, int, int, bool) + 684
65 0x7fdd0d046dd8 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 280
64 0x7fdd0f02d260 QApplication::notify(QObject*, QEvent*) + 704
63 0x7fdd0f02615a QApplicationPrivate::notify_helper(QObject*, QEvent*) + 106
62 0x7fdd0f0429d8 QLayoutPrivate::doResize(QSize const&) + 264
61 0x7fdd0f03c730 QBoxLayout::setGeometry(QRect const&) + 448
60 0x7fdd0f04645b QWidgetItem::setGeometry(QRect const&) + 267
59 0x7fdd0f05ca40 QWidget::setGeometry(QRect const&) + 128
58 0x7fdd0f05bd4c QWidgetPrivate::setGeometry_sys(int, int, int, int, bool) + 684
57 0x7fdd0d046dd8 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 280
56 0x7fdd0f02d260 QApplication::notify(QObject*, QEvent*) + 704
55 0x7fdd0f02615a QApplicationPrivate::notify_helper(QObject*, QEvent*) + 106
54 0x7fdd0f0429d8 QLayoutPrivate::doResize(QSize const&) + 264
53 0x7fdd0f03c730 QBoxLayout::setGeometry(QRect const&) + 448
52 0x7fdd0f04645b QWidgetItem::setGeometry(QRect const&) + 267
51 0x7fdd0f05ca40 QWidget::setGeometry(QRect const&) + 128
50 0x7fdd0f05bd4c QWidgetPrivate::setGeometry_sys(int, int, int, int, bool) + 684
49 0x7fdd0d046dd8 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 280
48 0x7fdd0f02d260 QApplication::notify(QObject*, QEvent*) + 704
47 0x7fdd0f02618c QApplicationPrivate::notify_helper(QObject*, QEvent*) + 156
46 0x7fdd0f0640ae QWidget::event(QEvent*) + 1582
45 0x7fdd0f08423a QOpenGLWidget::resizeEvent(QResizeEvent*) + 154
44 0x7fdd0f05cea5 QWidgetPrivate::sendPaintEvent(QRegion const&) + 37
43 0x7fdd0d046dd8 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 280
42 0x7fdd0f02d260 QApplication::notify(QObject*, QEvent*) + 704
41 0x7fdd0f02618c QApplicationPrivate::notify_helper(QObject*, QEvent*) + 156
40 0x7fdd0f063c28 QWidget::event(QEvent*) + 424
39 0x7fdd0f083dbd /home/vicente/Downloads/paraview/plain/ParaView-5.10.0-RC1-MPI-Linux-Python3.9-x86_64/bin/../lib/libQt5Widgets.so.5(+0x1b9dbd) [0x7fdd0f083dbd]
38 0x7fdd0c91cba4 QVTKOpenGLNativeWidget::paintGL() + 100
37 0x7fdd0c921e0b /home/vicente/Downloads/paraview/plain/ParaView-5.10.0-RC1-MPI-Linux-Python3.9-x86_64/bin/../lib/libvtkGUISupportQt-pv5.10.so.1(+0x31e0b) [0x7fdd0c921e0b]
36 0x7fdd053319e2 /home/vicente/Downloads/paraview/plain/ParaView-5.10.0-RC1-MPI-Linux-Python3.9-x86_64/bin/../lib/libvtkCommonCore-pv5.10.so.1(+0x5b69e2) [0x7fdd053319e2]
35 0x7fdd00eab438 vtkSMViewProxyInteractorHelper::Execute(vtkObject*, unsigned long, void*) + 360
34 0x7fdd00eab296 vtkSMViewProxyInteractorHelper::Render() + 406
33 0x7fdd00ea7a62 vtkSMViewProxy::InteractiveRender() + 322
32 0x7fdd0c1d09c8 vtkSMSessionClient::ExecuteStream(unsigned int, vtkClientServerStream const&, bool) + 344
31 0x7fdd0c0b9ba5 vtkPVSessionBase::ExecuteStream(unsigned int, vtkClientServerStream const&, bool) + 53
30 0x7fdd0c0bab7b vtkPVSessionCore::ExecuteStream(unsigned int, vtkClientServerStream const&, bool) + 59
29 0x7fdd0c0bad42 vtkPVSessionCore::ExecuteStreamInternal(vtkClientServerStream const&, bool) + 242
28 0x7fdd0aced28d vtkClientServerInterpreter::ProcessStream(vtkClientServerStream const&) + 29
27 0x7fdd0acecfee vtkClientServerInterpreter::ProcessOneMessage(vtkClientServerStream const&, int) + 1294
26 0x7fdd0acec8bd vtkClientServerInterpreter::ProcessCommandInvoke(vtkClientServerStream const&, int) + 1229
25 0x7fdd0acec259 vtkClientServerInterpreter::CallCommandFunction(char const*, vtkObjectBase*, char const*, vtkClientServerStream const&, vtkClientServerStream&) + 345
24 0x7fdd01c77e38 vtkPVRenderViewCommand(vtkClientServerInterpreter*, vtkObjectBase*, char const*, vtkClientServerStream const&, vtkClientServerStream&, void*) + 8984
23 0x7fdd00e02972 vtkPVRenderView::InteractiveRender() + 114
22 0x7fdd00e0ea1a vtkPVRenderView::Render(bool, bool) + 2074
21 0x7fdd09ce58e2 vtkGenericOpenGLRenderWindow::Render() + 194
20 0x7fdd09d747e1 vtkOpenGLRenderWindow::Render() + 81
19 0x7fdd08ec975b vtkRenderWindow::Render() + 267
18 0x7fdd08ec8dc5 vtkRenderWindow::DoStereoRender() + 213
17 0x7fdd08edbbcf vtkRendererCollection::Render() + 191
16 0x7fdd08ed5b55 vtkRenderer::Render() + 2533
15 0x7fdd09d7b04f vtkOpenGLRenderer::DeviceRender() + 143
14 0x7fdd09cbc36f vtkCameraPass::Render(vtkRenderState const*) + 527
13 0x7fdcff9f50a8 vtkOSPRayPass::Render(vtkRenderState const*) + 344
12 0x7fdd09cbc36f vtkCameraPass::Render(vtkRenderState const*) + 527
11 0x7fdd09dea722 vtkSequencePass::Render(vtkRenderState const*) + 1522
10 0x7fdcff9f53e8 vtkOSPRayPass::RenderInternal(vtkRenderState const*) + 568
9 0x7fdcffa0599b vtkOSPRayRendererNode::Render(bool) + 1707
8 0x7fdcffa0408d vtkOSPRayRendererNode::Denoise() + 109
7 0x7fdcb77bc510 VisRTX::Impl::FrameBuffer::MapColorBuffer() + 1248
6 0x7fdd0416fa99 /usr/lib64/libstdc++.so.6(+0xada99) [0x7fdd0416fa99]
5 0x7fdd0416f7e7 /usr/lib64/libstdc++.so.6(+0xad7e7) [0x7fdd0416f7e7]
4 0x7fdd0416f77c /usr/lib64/libstdc++.so.6(+0xad77c) [0x7fdd0416f77c]
3 0x7fdd04163fc6 /usr/lib64/libstdc++.so.6(+0xa1fc6) [0x7fdd04163fc6]
2 0x7fdd0fc44585 abort + 373
1 0x7fdd0fc4318b gsignal + 267
0 0x7fdd0fc43210 /lib64/libc.so.6(+0x3a210) [0x7fdd0fc43210]
( 233.920s) [paraview ] :0 FATL| Signal: SIGABRT
error: exception occurred: Subprocess aborted
Edited by Vicente Bolea