[vtkusers] [VTK 5.6.1] Buffer overrun with Windows x64
riyunoa heartilly
thyevilness at gmail.com
Fri Nov 25 03:38:50 EST 2011
I've built VTK 5.6.1 with Visual Studio 2005 with no problems. However,
running any code is quite strange - when I build in Release, running code
in Release works, but in Debug there is a buffer overrun error. The reverse
is also a problem, when I've built in Debug, running code in Debug works
with no problems, but buffer overrun errors occur in Release. I've noticed
that the overrun occurs when a source object is updated (see below). Any
ideas? Thanks in advance.
i.e.
vtkSmartPointer<vtkSphereSource> sphereSource =
vtkSmartPointer<vtkSphereSource>::New();
sphereSource->SetThetaResolution(30);
sphereSource->SetPhiResolution(15);
*sphereSource->Update();* //<--------------this line buffer overruns.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20111125/3400e32a/attachment.htm>
More information about the vtkusers
mailing list