# Paraview Segfault - picking in render window

**URL:** https://discourse.paraview.org/t/paraview-segfault-picking-in-render-window/5972
**Category:** ParaView Support
**Created:** [December 3, 2020, 8:51pm UTC](https://discourse.paraview.org/t/paraview-segfault-picking-in-render-window/5972 "2020-12-03T20:51:24Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![chart3388](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/c/82dd89/32.png) [@chart3388](https://discourse.paraview.org/u/chart3388)
#### Post date: [December 3, 2020, 8:51pm UTC](https://discourse.paraview.org/t/paraview-segfault-picking-in-render-window/5972/1 "2020-12-03T20:51:24Z")

</div>

From ParaView 5.9.0-RC2 going back to ParaView 5.8.1 I can make it segfault after reading in a fairly big vtkmultiblock object (900MB) that consists of ~5000 DataSets vtp. File -\> Open -\> select vtm and then hit apply. Do random things in the VTK render window like zoom in / out / right click on blocks / left mouse click on parts and it will eventually crash. I can get it to crash on Pick or PickBlock. Here is the seg from PickBlock

Loguru caught a signal: SIGSEGV  
Stack trace:  
50 0x407b2a /home/xzp6f6/Downloads/ParaView-5.9.0-RC2-MPI-Linux-Python3.8-64bit/bin/paraview-real() [0x407b2a]  
49 0x7ffff7a59a35 \_\_libc\_start\_main + 245  
48 0x40778a /home/xzp6f6/Downloads/ParaView-5.9.0-RC2-MPI-Linux-Python3.8-64bit/bin/paraview-real() [0x40778a]  
47 0x7ffff4ef5120 QCoreApplication::exec() + 128  
46 0x7ffff4eec62a QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) + 298  
45 0x7fffc0db7003 /home/xzp6f6/Downloads/ParaView-5.9.0-RC2-MPI-Linux-Python3.8-64bit/lib/libQt5XcbQpa.so.5(+0x5e003) [0x7fffc0db7003]  
44 0x7ffff5575b9b QWindowSystemInterface::sendWindowSystemEvents(QFlagsQEventLoop::ProcessEventsFlag) + 187  
43 0x7ffff559a5f5 QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent\*) + 261  
42 0x7ffff559936d QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent\*) + 1837  
41 0x7ffff4eeddd8 QCoreApplication::notifyInternal2(QObject\*, QEvent\*) + 280  
40 0x7ffff6eac260 QApplication::notify(QObject\*, QEvent\*) + 704  
39 0x7ffff6ea518c QApplicationPrivate::notify\_helper(QObject\*, QEvent\*) + 156  
38 0x7ffff6eff8fb /home/xzp6f6/Downloads/ParaView-5.9.0-RC2-MPI-Linux-Python3.8-64bit/bin/…/lib/libQt5Widgets.so.5(+0x1b68fb) [0x7ffff6eff8fb]  
37 0x7ffff6efcd86 /home/xzp6f6/Downloads/ParaView-5.9.0-RC2-MPI-Linux-Python3.8-64bit/bin/…/lib/libQt5Widgets.so.5(+0x1b3d86) [0x7ffff6efcd86]  
36 0x7ffff6eab7cc QApplicationPrivate::sendMouseEvent(QWidget\*, QMouseEvent\*, QWidget\*, QWidget\*, QWidget\*\*, QPointer&, bool, bool) + 460  
35 0x7ffff4eeddd8 QCoreApplication::notifyInternal2(QObject\*, QEvent\*) + 280  
34 0x7ffff6eacdc8 QApplication::notify(QObject\*, QEvent\*) + 3624  
33 0x7ffff6ea5165 QApplicationPrivate::notify\_helper(QObject\*, QEvent\*) + 117  
32 0x7ffff4eedb6d QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject\*, QEvent\*) + 157  
31 0x7ffff76f4b2f pqPipelineContextMenuBehavior::eventFilter(QObject\*, QEvent\*) + 431  
30 0x7ffff6083ba1 pqRenderView::pickBlock(int\*, unsigned int&) + 129  
29 0x7fffea1f1365 vtkSMRenderViewProxy::PickBlock(int, int, unsigned int&) + 165  
28 0x7fffea1f11cc vtkSMRenderViewProxy::SelectSurfaceCells(int const\*, vtkCollection\*, vtkCollection\*, bool, int, bool, char const\*) + 220  
27 0x7fffea1f1069 vtkSMRenderViewProxy::SelectInternal(vtkClientServerStream const&, vtkCollection\*, vtkCollection\*, bool, int, bool) + 169  
26 0x7ffff41c02e5 vtkPVSessionBase::ExecuteStream(unsigned int, vtkClientServerStream const&, bool) + 53  
25 0x7ffff41c12bb vtkPVSessionCore::ExecuteStream(unsigned int, vtkClientServerStream const&, bool) + 59  
24 0x7ffff41c1482 vtkPVSessionCore::ExecuteStreamInternal(vtkClientServerStream const&, bool) + 242  
23 0x7ffff3076ddd vtkClientServerInterpreter::ProcessStream(vtkClientServerStream const&) + 29  
22 0x7ffff3076b3e vtkClientServerInterpreter::ProcessOneMessage(vtkClientServerStream const&, int) + 1294  
21 0x7ffff307640d vtkClientServerInterpreter::ProcessCommandInvoke(vtkClientServerStream const&, int) + 1229  
20 0x7ffff3075da9 vtkClientServerInterpreter::CallCommandFunction(char const\*, vtkObjectBase\*, char const\*, vtkClientServerStream const&, vtkClientServerStream&) + 345  
19 0x7fffeafe3ac2 vtkPVRenderViewCommand(vtkClientServerInterpreter\*, vtkObjectBase\*, char const\*, vtkClientServerStream const&, vtkClientServerStream&, void\*) + 12434  
18 0x7fffea197587 vtkPVRenderView::Select(int, int\*, char const\*) + 135  
17 0x7fffea165455 vtkPVHardwareSelector::Select(int\*) + 21  
16 0x7fffea1653e4 vtkPVHardwareSelector::PrepareSelect() + 196  
15 0x7ffff123f7c5 vtkHardwareSelector::CaptureBuffers() + 1461  
14 0x7ffff209ba02 vtkGenericOpenGLRenderWindow::Render() + 194  
13 0x7ffff212b181 vtkOpenGLRenderWindow::Render() + 81  
12 0x7ffff129accb vtkRenderWindow::Render() + 267  
11 0x7ffff129a335 vtkRenderWindow::DoStereoRender() + 213  
10 0x7ffff12ac55f vtkRendererCollection::Render() + 191  
9 0x7ffff12a6455 vtkRenderer::Render() + 2533  
8 0x7ffff213191f vtkOpenGLRenderer::DeviceRender() + 143  
7 0x7ffff2072dbf vtkCameraPass::Render(vtkRenderState const\*) + 527  
6 0x7ffff21311e5 vtkOpenGLRenderer::UpdateGeometry(vtkFrameBufferObjectBase\*) + 3685  
5 0x7ffff12401e0 vtkHardwareSelector::Render(vtkRenderer\*, vtkProp\*\*, int) + 960  
4 0x7ffff123d300 vtkHardwareSelector::ProcessPixelBuffers() + 304  
3 0x7ffff2073bae vtkCompositePolyDataMapper2::ProcessSelectorPixelBuffers(vtkHardwareSelector\*, std::vector&, vtkProp\*) + 62  
2 0x7ffff207826d vtkCompositeMapperHelper2::ProcessSelectorPixelBuffers(vtkHardwareSelector\*, std::vector&, vtkProp\*) + 173  
1 0x7ffff2074f10 vtkCompositeMapperHelper2::ProcessCompositePixelBuffers(vtkHardwareSelector\*, vtkProp\*, vtkCompositeMapperHelperData\*, std::vector&) + 1376  
0 0x7ffff7a6e320 /lib64/libc.so.6(+0x38320) [0x7ffff7a6e320]  
(1173.827s) [paraview]

I’ll see if I can attempt to get this to happen in other formats.

Thanks,

Corey

---

<div class="post-metadata">

### Author: ![martink](https://discourse.paraview.org/user_avatar/discourse.paraview.org/martink/32/2082_2.png) [@martink](https://discourse.paraview.org/u/martink)
#### Post date: [December 7, 2020, 2:11pm UTC](https://discourse.paraview.org/t/paraview-segfault-picking-in-render-window/5972/2 "2020-12-07T14:11:12Z")

</div>

This may be fixed in master. There were a few picking fixes implemented recently that previously caused a crash.

---

<div class="post-metadata">

### Author: ![chart3388](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/c/82dd89/32.png) [@chart3388](https://discourse.paraview.org/u/chart3388)
#### Post date: [January 12, 2021, 1:36am UTC](https://discourse.paraview.org/t/paraview-segfault-picking-in-render-window/5972/3 "2021-01-12T01:36:32Z")

</div>

Hey Ken,

Sorry I missed this update. I’ll pull it down and give it a whirl.
