[Paraview] [Catalyst] segfault during destructor vtkCPProcessor -->vtkPVRenderWindow
Andy Bauer
andy.bauer at kitware.com
Fri Aug 21 11:38:20 EDT 2015
My guess would be that it's a memory issue. Can you try running with a
memory checker? I've used valgrind in the past for stuff like this.
On Tue, Aug 18, 2015 at 2:28 AM, Deij-van Rijswijk, Menno <M.Deij at marin.nl>
wrote:
> Hi,
>
> I have a headless ParaView build of the HEAD origin/master (commit number
> 1018) with libOSMesa 10.6.3 as offscreen renderer, to support a Catalyst
> workflow. Everything works fine, except that the process of MPI-rank 0 will
> give a segfault when a render window has been used in the catalyst pipeline
> (this happens also when not running with mpiexec/mpirun).
>
> I'm not familiar enough with VTK/PV or gdb to try to solve this on my own,
> so I post the gdb backtrace here in case someone has an idea what is going
> on. Any clues on how to fix this are welcome :-) Let me know if you need
> more information.
>
> Best wishes,
>
>
> Menno Deij - van Rijswijk
>
>
>
> #0 0x00002aaac65a0137 in glIsTextureEXT () from
> /home/mdeij/Programs/lib/libOSMesa.so.8
> #1 0x00002aaac4252def in vtkOpenGLTexture::ReleaseGraphicsResources
> (this=0x2, win=0x0)
> at
> /home/mdeij/src/ParaView/VTK/Rendering/OpenGL/vtkOpenGLTexture.cxx:80
> #2 0x00002aaac01ef377 in vtkPVScalarBarActor::ReleaseGraphicsResources
> (this=0x2, window=0x0)
> at
> /home/mdeij/src/ParaView/ParaViewCore/VTKExtensions/Rendering/vtkPVScalarBarActor.cxx:176
> #3 0x00002aaac4bc0584 in
> vtkScalarBarRepresentation::ReleaseGraphicsResources (this=0x2, w=0x0)
> at
> /home/mdeij/src/ParaView/VTK/Interaction/Widgets/vtkScalarBarRepresentation.cxx:227
> #4 0x00002aaaaf6f1522 in vtkRenderer::SetRenderWindow (this=0x2,
> renwin=0x0)
> at /home/mdeij/src/ParaView/VTK/Rendering/Core/vtkRenderer.cxx:1211
> #5 0x00002aaaaf6f4f65 in vtkRenderWindow::RemoveRenderer (this=0x2,
> ren=0x0)
> at /home/mdeij/src/ParaView/VTK/Rendering/Core/vtkRenderWindow.cxx:831
> #6 0x00002aaabe043c85 in vtkPVRenderView::~vtkPVRenderView
> (this=0x68f1de0)
> at
> /home/mdeij/src/ParaView/ParaViewCore/ClientServerCore/Rendering/vtkPVRenderView.cxx:426
> #7 0x00002aaabe043c3a in vtkPVRenderView::~vtkPVRenderView (this=0x2)
> at
> /home/mdeij/src/ParaView/ParaViewCore/ClientServerCore/Rendering/vtkPVRenderView.cxx:567
> #8 0x00002aaab4a9c446 in vtkSmartPointerBase::operator= (this=0x2, r=0x0)
> at /home/mdeij/src/ParaView/VTK/Common/Core/vtkSmartPointerBase.cxx:75
> #9 0x00002aaaaebdded3 in vtkSIProxy::~vtkSIProxy (this=0x68f1a00)
> at
> /home/mdeij/src/ParaView/ParaViewCore/ServerImplementation/Core/vtkSIProxy.cxx:93
> #10 0x00002aaaaebdde9a in vtkSIProxy::~vtkSIProxy (this=0x2)
> from
> /home/mdeij/src/build_ParaView/lib/libvtkPVServerImplementationCore-pv4.3.so.1
> #11 0x00002aaaaebbe523 in ~vtkInternals (this=<optimized out>,
> $30=<optimized out>)
> at
> /home/mdeij/src/ParaView/ParaViewCore/ServerImplementation/Core/vtkPVSessionCore.cxx:125
> #12 vtkPVSessionCore::~vtkPVSessionCore (this=0x39fd830)
> at
> /home/mdeij/src/ParaView/ParaViewCore/ServerImplementation/Core/vtkPVSessionCore.cxx:351
> #13 0x00002aaaaebbe3aa in vtkPVSessionCore::~vtkPVSessionCore (this=0x2)
> from
> /home/mdeij/src/build_ParaView/lib/libvtkPVServerImplementationCore-pv4.3.so.1
> #14 0x00002aaaaebbb867 in vtkPVSessionBase::~vtkPVSessionBase
> (this=0x39fdc80)
> at
> /home/mdeij/src/ParaView/ParaViewCore/ServerImplementation/Core/vtkPVSessionBase.cxx:86
> #15 0x00002aaaae8b873a in vtkSMSession::~vtkSMSession (this=0x2)
> from
> /home/mdeij/src/build_ParaView/lib/libvtkPVServerManagerCore-pv4.3.so.1
> #16 0x00002aaaaee83d01 in ~vtkSmartPointer (this=<optimized out>,
> $3=<optimized out>)
> at /home/mdeij/src/ParaView/VTK/Common/Core/vtkSmartPointer.h:26
> #17 ~pair (this=<optimized out>, $2=<optimized out>) at
> /usr/include/c++/4.4.7/bits/stl_pair.h:67
> #18 destroy (this=<optimized out>, __p=<optimized out>, $0=<optimized
> out>, $1=<optimized out>)
> at /usr/include/c++/4.4.7/ext/new_allocator.h:115
> #19 _M_destroy_node (this=<optimized out>, __p=<optimized out>,
> $8=<optimized out>, $9=<optimized out>)
> at /usr/include/c++/4.4.7/bits/stl_tree.h:383
> #20 _M_erase (this=<optimized out>, __x=<optimized out>, $5=<optimized
> out>, $6=<optimized out>)
> at /usr/include/c++/4.4.7/bits/stl_tree.h:972
> #21 clear (this=0x0, $3=<optimized out>) at
> /usr/include/c++/4.4.7/bits/stl_tree.h:726
> #22 clear (this=<optimized out>, $2=<optimized out>) at
> /usr/include/c++/4.4.7/bits/stl_map.h:626
> #23 vtkProcessModule::Finalize () at
> /home/mdeij/src/ParaView/ParaViewCore/ClientServerCore/Core/vtkProcessModule.cxx:290
> #24 0x00002aaaad674142 in vtkInitializationHelper::Finalize ()
> at
> /home/mdeij/src/ParaView/ParaViewCore/ServerManager/SMApplication/vtkInitializationHelper.cxx:279
> #25 0x00002aaaad242e48 in vtkCPCxxHelper::~vtkCPCxxHelper (this=0x2840fe0)
> at /home/mdeij/src/ParaView/CoProcessing/Catalyst/vtkCPCxxHelper.cxx:58
> #26 0x00002aaaad242dfa in vtkCPCxxHelper::~vtkCPCxxHelper (this=0x2)
> at
> /home/mdeij/src/ParaView/CoProcessing/Catalyst/vtkCPCxxHelper.cxx:124
> #27 0x00002aaaad246ad2 in vtkCPProcessor::~vtkCPProcessor (this=0x3a0cbd0)
> at /home/mdeij/src/ParaView/CoProcessing/Catalyst/vtkCPProcessor.cxx:66
> #28 0x00002aaaad246a4a in vtkCPProcessor::~vtkCPProcessor (this=0x2)
> at
> /home/mdeij/src/ParaView/CoProcessing/Catalyst/vtkCPProcessor.cxx:278
>
>
> dr. ir. Menno A. Deij-van Rijswijk
> Researcher / Software Engineer
> Maritime Simulation & Software Group
> E mailto:M.Deij at marin.nl
> T +31 317 49 35 06
>
>
> MARIN
> 2, Haagsteeg, P.O. Box 28, 6700 AA Wageningen, The Netherlands
> T +31 317 49 39 11, F +31 317 49 32 45, I www.marin.nl
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150821/f2c86dc3/attachment.html>
More information about the ParaView
mailing list