<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Calibri, sans-serif" size="2">
<div>Hi</div>
<div>&nbsp;</div>
<div>I programmed an own vtk Filter which internally has multiple threads. In each thread I create a vtkImageData object using</div>
<div>&nbsp;</div>
<div><font face="Courier New, monospace" size="2">vtkSmartPointer&lt;vtkImageData&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; oImage = vtkImageData::New();</font></div>
<div>&nbsp;</div>
<div>the problem is that sometimes the New() operator crashes, I debugged it the the line 61 of vtkImageData.cxx:</div>
<div><font color="#0000FF">&nbsp;</font></div>
<div><font face="Courier New, monospace" size="2" color="#0000FF">this<font color="#000000">-&gt;Information-&gt;Set(vtkDataObject::DATA_EXTENT(), </font>this<font color="#000000">-&gt;Extent, 6);</font></font></div>
<div>&nbsp;</div>
<div>whereby the exact crash is in vtkInformationIntegerPointerKey.cxx on line 58:</div>
<div>&nbsp;</div>
<div><font face="Courier New, monospace" size="2" color="#0000FF">if<font color="#000000">(</font>this<font color="#000000">-&gt;RequiredLength &gt;= 0 &amp;&amp; length != </font>this<font color="#000000">-&gt;RequiredLength)</font></font></div>
<div>&nbsp;</div>
<div>wherehy the &#8220;this&#8221; pointer is zero. I am not so deep familiar with that, any suggestions? </div>
<div>&nbsp;</div>
<div><b>DI Gerald Lodron</b></div>
<div><font size="1">&nbsp;</font></div>
<div><font color="#808080">Machine Vision Applications</font></div>
<div>&nbsp;</div>
<div><font color="#808080">DIGITAL - Institute&nbsp;for Information and Communication Technologies</font></div>
<div>&nbsp;</div>
<div><font size="1" color="#808080">JOANNEUM RESEARCH Forschungsgesellschaft mbH</font></div>
<div><font size="1" color="#808080">Steyrergasse 17, 8010 Graz, AUSTRIA</font></div>
<div>&nbsp;</div>
<div><font size="1" color="#808080">phone:&nbsp;&nbsp; &#43;43-316-876-1751&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;personal fax: &#43;43-316-876-91751</font></div>
<div><font size="1" color="#808080">mobile:&nbsp;&nbsp; &#43;43-699-1876-1751&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;general fax: &#43;43-316-876-1720</font></div>
<div><font size="1" color="#808080">web: <a href="http://www.joanneum.at/digital"><font face="Verdana, sans-serif"><u>http://www.joanneum.at/digital</u></font></a></font></div>
<div><font size="1" color="#808080">e-mail: <a href="mailto:gerald.lodron@joanneum.at"><font face="Verdana, sans-serif" color="#0000FF"><u>gerald.lodron@joanneum.at</u></font></a></font></div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
</font>
</body>
</html>