[vtk-developers] VTK 7.0 segfault in vtkContourFilter with UseScalarTree
Will Schroeder
will.schroeder at kitware.com
Sat Feb 6 19:33:08 EST 2016
Thanks Leif, I suspect that I am the culprit. I'm traveling on and off but
I'll make a fix as soon as I can.
Best,
W
On Sat, Feb 6, 2016 at 2:14 PM, Leif Delgass <ldelgass at gmail.com> wrote:
> In VTK 7.0, I am getting a segfault in vtkContourFilter when setting
> UseScalarTreeOn(), but not supplying a ScalarTree pointer. This worked in
> VTK 6.3, since the filter would create a default vtkSimpleScalarTree if a
> ScalarTree wasn't supplied. However, it seems that in the following
> commit, the code was changed so that now a default ScalarTree (a
> vtkSpanSpace) is only supplied if the input is an unstructured grid.
>
>
> https://gitlab.kitware.com/vtk/vtk/commit/8ae05d907d5b047be79574cf8cc0c3c9a816e51c#4ec6be05bae9bbde34d3583e844cc26dfc4e91ea_574_589
>
> Restoring the deleted block from vtkContourFilter.cxx:574:589 in the above
> commit fixes the problem for me.
>
> I haven't made a test/repro case, but this should be fairly simple to
> reproduce, just:
>
> 1. Attach a data set that isn't an unstructured grid (e.g. a
> vtkStructuredGrid), to a vtkContourFilter.
> 2. Generate a couple of isovalues in the filter.
> 3. Set UseScalarTreeOn() in the filter and update/run the filter.
>
> -Leif
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Search the list archives at: http://markmail.org/search/?q=vtk-developers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtk-developers
>
>
>
--
William J. Schroeder, PhD
Kitware, Inc. - Building the World's Technical Computing Software
28 Corporate Drive
Clifton Park, NY 12065
will.schroeder at kitware.com
http://www.kitware.com
(518) 881-4902
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20160206/3a936558/attachment.html>
More information about the vtk-developers
mailing list