<div dir="ltr">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.<br>Best,<br>W</div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Feb 6, 2016 at 2:14 PM, Leif Delgass <span dir="ltr"><<a href="mailto:ldelgass@gmail.com" target="_blank">ldelgass@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">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.<br><div><div><br><a href="https://gitlab.kitware.com/vtk/vtk/commit/8ae05d907d5b047be79574cf8cc0c3c9a816e51c#4ec6be05bae9bbde34d3583e844cc26dfc4e91ea_574_589" target="_blank">https://gitlab.kitware.com/vtk/vtk/commit/8ae05d907d5b047be79574cf8cc0c3c9a816e51c#4ec6be05bae9bbde34d3583e844cc26dfc4e91ea_574_589</a><br><br></div><div>Restoring the deleted block from vtkContourFilter.cxx:574:589 in the above commit fixes the problem for me.<br><br></div><div>I haven't made a test/repro case, but this should be fairly simple to reproduce, just:<br><br></div><div>1. Attach a data set that isn't an unstructured grid (e.g. a vtkStructuredGrid), to a vtkContourFilter.<br></div><div>2. Generate a couple of isovalues in the filter.<br></div><div>3. Set UseScalarTreeOn() in the filter and update/run the filter.<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888"><div><br></div><div>-Leif<br></div></font></span></div></div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtk-developers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtk-developers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtk-developers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtk-developers</a><br>
<br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>William J. Schroeder, PhD<br>Kitware, Inc. - Building the World's Technical Computing Software<br>28 Corporate Drive<br>Clifton Park, NY 12065<br><a href="mailto:will.schroeder@kitware.com" target="_blank">will.schroeder@kitware.com</a><br><a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a><br>(518) 881-4902</div></div></div>
</div>