[Paraview] Reader Problem

Berk Geveci berk.geveci at gmail.com
Thu Nov 10 15:28:00 EST 2005


How are you associating the data with the vtk dataset? Do you read an array
and hand it to a vtk array? Also, can you run in a debugger and get a track
trace? If you are running on Linux, valgrind would be even better.

-Berk

On 11/10/05, Brian Dotson <Brian.Dotson at netl.doe.gov> wrote:
>
> Hi all,
>  I wrote a custom reader that brings our simulation results into ParaView.
>
>  The data is an unstructured grid with multiple timesteps. The cells are
> either hexahedron or wedges. The data I attach to the mesh is mostly scalar
> with a few vectors.
>  With most of the simulation results we look at the reader looks fine, but
> some of the data sets cause the following error.
>  free(): invalid pointer 0xc2f7f70!
>  This error happens after my code executes and I have returned the
> unstructured grid over to ParaView.
>  I have done the following to debug the problem:
>  1. I checked the number of arrays that I am attaching to the mesh and the
> NumberOfCellFields variable, these match.
>  2. I checked the MaxId of all the arrays. These match the cell count.
>  3. When I turn all the cell arrays off, I don't get the errors, and the
> mesh loads.
>  Does anyone have any ideas on what the problem could be?
>  Thanks,
>  Brian Dotson
> National Energy Technology Laboratory
> Department of Energy
>
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/paraview/attachments/20051110/2007195a/attachment.html


More information about the ParaView mailing list