<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>
"Microsoft Visual Studio C Runtime Library has detected a fatal error in MyApp.exe."<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->Executives.insert(v->Executives.begin(), executives, executives+length); // crashes at the .begin()<br>
...<br>
}<br>
which is called deep inside<br>
<font face="Courier New">w2if->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->Value.insert(v->Value.begin(), value, value+length); // crashes at the .begin()<br>
...<br>
}<br>
which is called deep inside <br>
<font face="Courier New">mapper->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>