<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>> From: david.gobbi@gmail.com<br>> Date: Mon, 27 Aug 2012 12:48:19 -0600<br>> Subject: Re: [vtkusers] vtkImageStencil problem<br>> To: lewes_infor@hotmail.com<br>> CC: vtkusers@vtk.org<br>> <br>> On Mon, Aug 27, 2012 at 11:50 AM, liulewes <lewes_infor@hotmail.com> wrote:<br>> > Thanks David, I just tried your suggestions. However, it seems that the<br>> > latest version does not solve the problem.<br>> > Besides, I think line 549 in vtkImageStencilData.cxx should be fixed in<br>> > V5.10. "if (clist != &this->ExtentListLengths[n + incr])" should be "if<br>> > (clist != &this->ExtentListLengths[n + 2*incr])"<br>> > otherwise will cause run time crash.<br>> <br>> But that line already uses "[n + 2*incr]" in VTK 5.10. Do you mean<br>> line 623? Because line 623 does look wrong... I'll investigate.<br>> <br>> - David<br></div>                                            </div></body>
</html>