<html><body>
<p>Hi,<br>
<br>
After my application worked correctly, I've made some changes that I cannot retrieve, that cause vtk to crash:<br>
<br>
&quot;Microsoft Visual Studio C Runtime Library has detected a fatal error in MyApp.exe.&quot;<br>
<br>
The crash happens at the following places:<br>
<br>
void vtkInformationExecutivePortVectorKey::Set(vtkInformation* info,<br>
                                               vtkExecutive** executives,<br>
                                               int* ports, int length)<br>
{<br>
...<br>
     v-&gt;Executives.insert(v-&gt;Executives.begin(), executives, executives+length); // crashes at the .begin()<br>
...<br>
}<br>
which is called deep inside<br>
<font face="Courier New">w2if-&gt;Update();</font>  // w2if is  * <font face="Courier New">vtkWindowToImageFilter</font><br>
<br>
<br>
<br>
<br>
When I comment out the update function, I get a simillar crash at:<br>
<br>
void vtkInformationIntegerVectorKey::Set(vtkInformation* info, int* value,<br>
                                         int length)<br>
{<br>
...<br>
v-&gt;Value.insert(v-&gt;Value.begin(), value, value+length); // crashes at the .begin()<br>
...<br>
}<br>
which is called deep inside <br>
<font face="Courier New">mapper-&gt;SetInput(polys); // (mapper is *vtkPolyDataMapper and polys is *vtkPolyData)</font><br>
<br>
<br>
<br>
<br>
<br>
Does anyone has any suggestions what could cause these crashes?<br>
Any suggestions would be appreciated.<br>
<br>
Thanks,<br>
Dov</body></html>