[vtk-developers] [VTK 0011860]: Crash on vtkUnstructuredGrid::GetCell after DeepCopy of an instance containing polhyedrons

Hua Yang hua.yang at kitware.com
Tue Feb 15 17:20:09 EST 2011


Hi Anthony,

Thank you for reporting this bug. You are right,
vtkUnstructuredGrid::DeepCopy() failed to copy of some data attributes
related to polyhedron cells. The bug is now fixed in
899b6f0be74d6127ff5fd9d1e69a2c584e0d992d

Please verify the bug fix and resolve the issue if things work correctly.

Thanks.

Hua


On Tue, Feb 15, 2011 at 4:25 AM, Mantis Bug Tracker <
mantis at public.kitware.com> wrote:

>
> The following issue has been SUBMITTED.
> ======================================================================
> http://public.kitware.com/Bug/view.php?id=11860
> ======================================================================
> Reported By:                Anthony Geay
> Assigned To:
> ======================================================================
> Project:                    VTK
> Issue ID:                   11860
> Category:                   (No Category)
> Reproducibility:            always
> Severity:                   crash
> Priority:                   normal
> Status:                     new
> ======================================================================
> Date Submitted:             2011-02-15 04:25 EST
> Last Modified:              2011-02-15 04:25 EST
> ======================================================================
> Summary:                    Crash on vtkUnstructuredGrid::GetCell after
> DeepCopy
> of an instance containing polhyedrons
> Description:
> Test on Paraview3.10 RC1.
>
> In attached file ret0 contains polyhedrons and hexaedrons.
> After a DeepCopy on ret0, ret instance seems to be incorrect that leads to
> a
> crach in GetCell.
>
> Steps to Reproduce:
> The execution of the attached file leads to a SIGSEGV.
> When replacing line 122 ret by ret0 it is OK.
> It seems that DeepCopy method does not perform copy of additional arrays
> needed
> by polyhedrons.
>
> Regards
> ======================================================================
>
> Issue History
> Date Modified    Username       Field                    Change
> ======================================================================
> 2011-02-15 04:25 Anthony Geay   New Issue
> 2011-02-15 04:25 Anthony Geay   File Added: mainPolyhedron.cxx
>
> ======================================================================
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
>


-- 
Hua Yang, Ph. D.
R&D Engineer,
Kitware, Inc.
1-919-969-6990 x 309
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20110215/7ca47772/attachment.html>


More information about the vtk-developers mailing list