View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002926ParaView(No Category)public2006-03-01 19:312009-12-09 14:49
ReporterAndrew Maclean 
Assigned ToBerk Geveci 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0002926: Startup fails with: "vector iterator not dereferencable"
DescriptionCompiler: Visual Studio 8.0

After building with Visual Studio 8.0, startup fails with: "vector iterator not dereferencable"

The problem seems to be in vtkClientServerStream.cxx line 240:
  memcpy(&*this->Internal->Data.end() - length, data, length);

Called from: vtkProcessModule.cxx line 793.

A possible solution is to change vtkClientServerStream.cxx line 240 to:
vtkClientServerStream.cxx line 240:
  memcpy(&this->Internal->Data.end() - length, data, length);

But you should check if this->Internal->Data is empty first.
TagsNo tags attached.
Topic Name
Attached Files


Andrew Maclean (reporter)
2006-03-01 20:09

As I suspected the solution is not as simple as outlined below, just doing memcpy(&this->Internal->Data.end() - length, data, length);
causes other errors.
Andrew Maclean (reporter)
2006-03-01 20:23

But this works:
  memcpy(&*(--this->Internal->Data.end()) - length + 1, data, length);

However we run into the same problems at int vtkClientServerStream::ParseData() in line 1205.
This section of code will definitely need a rewrite.
Berk Geveci (administrator)
2007-06-02 09:39

Is this true for 3.0?
Andrew Maclean (reporter)
2007-06-24 20:08

Everything compiles Ok with Paraview 3. I finally got around to installing QT 4.2.3

So I think you can close this bug.


 Issue History
Date Modified Username Field Change
2009-12-09 14:49 Berk Geveci Project @3@ => ParaView
2011-06-16 13:09 Zack Galbreath Category => (No Category)

Copyright © 2000 - 2018 MantisBT Team