[Paraview] Memory problem in Contour-Filter?

Bernhard Gschaider bgschaid_lists at ice-sf.at
Tue Mar 3 17:29:30 EST 2009


Hi!

I know that this is a bit like diagnosing a brain tumor using a
passport picture, but I'd be grateful about any help.

I'm currently using Paraview 3.4. Using a programmable source I
constructed a polyMesh (basically a number of particle trajectories). 

The trajectories are displayed alright, and work with most filters
(Tube, Slice etc) but when I apply the Contour-Filter it crashes (not
always but more often than not). The funny thing is that when I apply
the Clean-filter with large tolerances it works, but the problem is
that the result is so coarse that it doesn't resemble the
original. With finer tolerances the filter crashes again.

The traceback that I usually get (I added a clipped version below) leads
me to the conclusion that some memory is returned twice inside the
vtkContourFilter.

Answers that would help me would be:

- "That's an old one. It's already fixed one in the CVS" The point is
  I don't want to fuzz around with the CVS if there isn't a slim
  chance that it will work

- "Have you tried filter X to clean up the data" Using the
  Clean-filter produces unsatisfactory results

- "That's an interesting one. Could you send us the pvd/vtp-file, but
  we don't commit to fixing it" I've got a 3MB pvd from the filter
  that can reproduce the problem

Bernhard

*** glibc detected *** /.autonfs/Programs/OpenFOAM/ThirdParty/ParaView-3.4.0/platforms/linux64Gcc/lib/paraview-3.4/paraview-real: double free or corruption (!prev): 0x000000001cbb8f30 ***
======= Backtrace: =========
/lib64/libc.so.6[0x3213871834]
/lib64/libc.so.6(cfree+0x8c)[0x3213874e7c]
/.autonfs/Programs/OpenFOAM/ThirdParty/ParaView-3.4.0/platforms/linux64Gcc/lib/paraview-3.4/libvtkCommon.so.pv3.4(_ZN20vtkDataArrayTemplateIdE11DeleteArrayEv+0x4d)[0x2ba8b7f7b88d]
/.autonfs/Programs/OpenFOAM/ThirdParty/ParaView-3.4.0/platforms/linux64Gcc/lib/paraview-3.4/libvtkCommon.so.pv3.4(_ZN20vtkDataArrayTemplateIdED2Ev+0x29)[0x2ba8b7f7e779]
/.autonfs/Programs/OpenFOAM/ThirdParty/ParaView-3.4.0/platforms/linux64Gcc/lib/paraview-3.4/libvtkCommon.so.pv3.4(_ZN14vtkDoubleArrayD0Ev+0x17)[0x2ba8b7f7ae17]
/.autonfs/Programs/OpenFOAM/ThirdParty/ParaView-3.4.0/platforms/linux64Gcc/lib/paraview-3.4/libvtkCommon.so.pv3.4(_ZN9vtkObject18UnRegisterInternalEP13vtkObjectBasei+0x5c)[0x2ba8b7fdda2c]
/.autonfs/Programs/OpenFOAM/ThirdParty/ParaView-3.4.0/platforms/linux64Gcc/lib/paraview-3.4/libvtkGraphics.so.pv3.4(_ZN16vtkContourFilter11RequestDataEP14vtkInformationPP20vtkInformationVectorS3_+0x56d)[0x2ba8b42e121d]


More information about the ParaView mailing list