View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0002926 | ParaView | (No Category) | public | 2006-03-01 19:31 | 2009-12-09 14:49 | ||||
Reporter | Andrew Maclean | ||||||||
Assigned To | Berk Geveci | ||||||||
Priority | urgent | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0002926: Startup fails with: "vector iterator not dereferencable" | ||||||||
Description | Compiler: 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. | ||||||||
Tags | No tags attached. | ||||||||
Project | |||||||||
Topic Name | |||||||||
Type | |||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0003821) 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. |
(0003822) 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. |
(0007779) Berk Geveci (administrator) 2007-06-02 09:39 |
Is this true for 3.0? |
(0007925) 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. Andrew |
Notes |
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) |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |