[vtkusers] DeepCopy() of vtkPolyData crashes (VTK 7.1, VS 2010 64bit)

Rabotnikov, Mark mark.rabotnikov at philips.com
Thu Dec 29 00:49:23 EST 2016

Dear VTK users/developers,

I've encountered a crash in vtkPolyData::DeepCopy() with the following code using VTK 7.1 (VS 2010 64 bit compiler on Windows 7):

vtkPolyData* mm = vtkPolyData::New();

vtkPolyData* temp = vtkPolyData::New();


The call stack is attached, the problem is related to copying Verts in vtkPolyData::DeepCopy():

    vtkCellArray *ca;
    ca = vtkCellArray::New();

Thanks a lot,


The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20161229/bf067c87/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: DeepCopyStack.txt
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20161229/bf067c87/attachment.txt>

More information about the vtkusers mailing list