[vtkusers] vtk crash
Peter F Bradshaw
pfb at exadios.com
Sat Jul 21 22:42:38 EDT 2007
Hi Dov;
On Thu, 19 Jul 2007, Dov Mayzlish wrote:
>
> Hi,
>
> After my application worked correctly, I've made some changes that I cannot
> retrieve, that cause vtk to crash:
>
> "Microsoft Visual Studio C Runtime Library has detected a fatal error in
> MyApp.exe."
>
> The crash happens at the following places:
>
> void vtkInformationExecutivePortVectorKey::Set(vtkInformation* info,
> vtkExecutive** executives,
> int* ports, int length)
> {
> ...
> v->Executives.insert(v->Executives.begin(), executives,
> executives+length); // crashes at the .begin()
> ...
> }
Which version of VTK are you using?
> which is called deep inside
> w2if->Update(); // w2if is * vtkWindowToImageFilter
>
>
>
>
> When I comment out the update function, I get a simillar crash at:
>
> void vtkInformationIntegerVectorKey::Set(vtkInformation* info, int* value,
> int length)
> {
> ...
> v->Value.insert(v->Value.begin(), value, value+length); // crashes at the
> .begin()
> ...
> }
> which is called deep inside
> mapper->SetInput(polys); // (mapper is *vtkPolyDataMapper and polys is
> *vtkPolyData)
>
>
>
>
>
> Does anyone has any suggestions what could cause these crashes?
> Any suggestions would be appreciated.
>
> Thanks,
> Dov
Cheers
--
Peter F Bradshaw: http://www.exadios.com (public keys avaliable there).
Personal site: http://personal.exadios.com
"I love truth, and the way the government still uses it occasionally to
keep us guessing." - Sam Kekovich.
More information about the vtkusers
mailing list