<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:΢ÈíÑźÚ
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
You're right, it's line 623. The crash after subtracting stencil still exists.<br><br><div><div id="SkyDrivePlaceholder"></div>&gt; From: david.gobbi@gmail.com<br>&gt; Date: Mon, 27 Aug 2012 12:48:19 -0600<br>&gt; Subject: Re: [vtkusers] vtkImageStencil problem<br>&gt; To: lewes_infor@hotmail.com<br>&gt; CC: vtkusers@vtk.org<br>&gt; <br>&gt; On Mon, Aug 27, 2012 at 11:50 AM, liulewes &lt;lewes_infor@hotmail.com&gt; wrote:<br>&gt; &gt; Thanks David, I just tried your suggestions. However, it seems that the<br>&gt; &gt; latest version does not solve the problem.<br>&gt; &gt; Besides, I think line 549 in vtkImageStencilData.cxx should be fixed in<br>&gt; &gt; V5.10. "if (clist != &amp;this-&gt;ExtentListLengths[n + incr])" should be "if<br>&gt; &gt; (clist != &amp;this-&gt;ExtentListLengths[n + 2*incr])"<br>&gt; &gt; otherwise will cause run time crash.<br>&gt; <br>&gt; But that line already uses "[n + 2*incr]" in VTK 5.10.  Do you mean<br>&gt; line 623?  Because line 623 does look wrong... I'll investigate.<br>&gt; <br>&gt;  - David<br></div>                                               </div></body>
</html>