<div dir="ltr">Hi Paul,<div><br></div><div>thanks for providing the fix. Do you mind pushing that patch to gerrit and adding Utkarsh and I as a reviewer?</div><div><br></div><div>Thanks,</div><div><br></div><div>Seb</div><div>
<br></div><div>PS: More information can be found here on how to push a patch to gerrit. <a href="http://www.vtk.org/Wiki/VTK/Git/Develop">http://www.vtk.org/Wiki/VTK/Git/Develop</a></div></div><div class="gmail_extra"><br>
<br><div class="gmail_quote">On Mon, Jan 6, 2014 at 12:35 PM, Paul Edwards <span dir="ltr">&lt;<a href="mailto:paul.m.edwards@gmail.com" target="_blank">paul.m.edwards@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>Below is the fix:</div><div><br></div><div>diff --git a/Filters/Core/vtkAppendFilter.cxx b/Filters/Core/vtkAppendFilter.cxx</div><div>index 674135c..1f8878f 100644</div><div>--- a/Filters/Core/vtkAppendFilter.cxx</div>

<div>+++ b/Filters/Core/vtkAppendFilter.cxx</div><div>@@ -302,6 +302,7 @@ int vtkAppendFilter::RequestData(</div><div>         if (ug &amp;&amp; ds-&gt;GetCellType(cellId) == VTK_POLYHEDRON )</div><div>           {</div>
<div>
           vtkIdType nfaces, *facePtIds;</div><div>+          newPtIds-&gt;Reset ();</div><div>           ug-&gt;GetFaceStream(cellId,nfaces,facePtIds);</div><div>           for(vtkIdType id=0; id &lt; nfaces; ++id)</div>

<div>             {</div><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On 6 January 2014 16:04, Paul Edwards <span dir="ltr">&lt;<a href="mailto:paul.m.edwards@gmail.com" target="_blank">paul.m.edwards@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I&#39;m having problems when using data with polyhedron cells.  I get a segfault when I run append data on the attached datasets.  I&#39;ve got a very simple example - two datasets, one with 3 cells and other with 2 cells.  The steps to reproduce:<div>


<br></div><div>Load polyhedron1.vtu</div><div>Load polyhedron2.vtu</div><div>Select both, choose &quot;Append datasets&quot; and apply</div><div><br></div><div>There seems to be some memory corruption somewhere but it&#39;s not obvious to me...  Any hints would be appeciated if anyone has the time to look.</div>


<div><br></div><div>Thanks,</div><div>Paul</div><div><br></div><div><br></div></div>
</blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>