<div>ParaView still does not run when compiled with VS 2005.</div>
<div>I am using the latest CVS.</div>
<div>&nbsp;</div>
<div>1) Build ParaView using Visual Studio 2005.</div>
<div>2) Start ParaView</div>
<div>3) Select a source e.g. Box Press Accept.</div>
<div>4) Select Cut with imlplicit plane or sphere (7th icon) and press Accept.</div>
<div>5) The application crashes with a vector subscript out of range error.<br>&nbsp;</div>
<div>To me, there seem to be definite coding problems here relating to the STL. </div>
<div>An observation that I can make is that we must remember the indexing in the STL is based on half-open intervals [...). </div>
<div>So accessing the end pointer or past it, will trigger an exception. </div>
<div>Earlier (and other current)&nbsp;compilers tended to ignore dereferencing end(), but will trigger an exception for dereferencing past the end pointer.</div>
<div>Fortunatly (and I mean it - because the behaviour is standards compliant) this compiler will trigger an exception then the end pointer is dereferenced.</div>
<div>&nbsp;</div>
<div>I hope this helps because I suspect that there is a&nbsp;bit of code like this here.</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>Here is the call stack:</div>
<div>&gt;&nbsp;msvcp80d.dll!std::_Debug_message(const wchar_t * message=0x0471df90, const wchar_t * file=0x0471dfd8, unsigned int line=756)&nbsp; Line 23&nbsp;C++<br>&nbsp;&nbsp;vtkPVServerManager.dll!std::vector&lt;double,std::allocator&lt;double&gt; &gt;::operator[](unsigned int _Pos=0)&nbsp; Line 756 + 0x17 bytes&nbsp;C++
<br>&nbsp;&nbsp;vtkPVServerManager.dll!vtkSMDoubleVectorProperty::SetElements(const double * values=0x00000000)&nbsp; Line 253 + 0x18 bytes&nbsp;C++<br>&nbsp;&nbsp;vtkPVServerManager.dll!vtkSMPropertyStatusManager::DuplicateProperty(vtkSMVectorProperty * src=0x0a61caa0, vtkSMVectorProperty * dest=0x0aa481b8)&nbsp; Line 264 + 0x1c bytes&nbsp;C++
<br>&nbsp;&nbsp;vtkPVServerManager.dll!vtkSMPropertyStatusManager::RegisterProperty(vtkSMVectorProperty * property=0x0a61caa0)&nbsp; Line 63 + 0xe bytes&nbsp;C++<br>&nbsp;&nbsp;vtkKWParaView.dll!vtkPVSimpleAnimationCue::SetAnimatedPropertyName(const char * name=0x0a61d1ec)&nbsp; Line 1151&nbsp;C++
<br>&nbsp;&nbsp;vtkKWParaView.dll!vtkPVAnimationManager::SetupCue(vtkPVSource * pvSource=0x0a499ea8, vtkPVAnimationCueTree * parent=0x0aa385d0, vtkSMProxy * proxy=0x0a4a1048, const char * propertyname=0x0a61d1ec, const char * domainname=0x00000000, int element=-1, const char * label=0x0a61d1ec, vtkPVAnimationCue * cueToSetup=0x00000000)&nbsp; Line 692 + 0x16 bytes&nbsp;C++
<br>&nbsp;&nbsp;vtkKWParaView.dll!vtkPVAnimationManager::AddProperties(vtkPVSource * pvSource=0x0a499ea8, vtkSMProxy * proxy=0x0a4a1048, vtkPVAnimationCueTree * pvCueTree=0x0aa385d0)&nbsp; Line 577&nbsp;C++<br>&nbsp;&nbsp;vtkKWParaView.dll!vtkPVAnimationManager::AddNewSources
()&nbsp; Line 521 + 0x14 bytes&nbsp;C++<br>&nbsp;&nbsp;vtkKWParaView.dll!vtkPVAnimationManager::Update()&nbsp; Line 318&nbsp;C++<br>&nbsp;&nbsp;vtkKWParaView.dll!vtkPVWindow::UpdateAnimationInterface()&nbsp; Line 3689&nbsp;C++<br>&nbsp;&nbsp;vtkKWParaView.dll!vtkPVImplicitPlaneWidget::Accept
()&nbsp; Line 337&nbsp;C++<br>&nbsp;&nbsp;vtkKWParaView.dll!vtkPVSelectWidget::Accept()&nbsp; Line 341 + 0x12 bytes&nbsp;C++<br>&nbsp;&nbsp;vtkKWParaView.dll!vtkPVSource::UpdateVTKSourceParameters()&nbsp; Line 2048 + 0x12 bytes&nbsp;C++<br>&nbsp;&nbsp;vtkKWParaView.dll!vtkPVSource::Accept
(int hideFlag=0, int hideSource=1)&nbsp; Line 1092 + 0x12 bytes&nbsp;C++<br>&nbsp;&nbsp;vtkKWParaView.dll!vtkPVSource::Accept(int hideFlag=0)&nbsp; Line 211 + 0x27 bytes&nbsp;C++<br>&nbsp;&nbsp;vtkKWParaView.dll!vtkPVSource::AcceptCallbackInternal()&nbsp; Line 1052 + 0x14 bytes&nbsp;C++
<br>&nbsp;&nbsp;vtkKWParaView.dll!vtkPVSource::AcceptCallback()&nbsp; Line 1025 + 0x12 bytes&nbsp;C++<br>&nbsp;&nbsp;vtkKWParaView.dll!vtkPVSourceCppCommand(vtkPVSource * op=0x0a499ea8, Tcl_Interp * interp=0x06d576b8, int argc=2, char * * argv=0x00dce8f0)&nbsp; Line 600&nbsp;C++
<br>&nbsp;&nbsp;vtkKWParaView.dll!vtkPVSourceCommand(void * cd=0x0a4a0dc0, Tcl_Interp * interp=0x06d576b8, int argc=2, char * * argv=0x00dce8f0)&nbsp; Line 30 + 0x17 bytes&nbsp;C++<br>&nbsp;&nbsp;tcl84.dll!03d6c5bb() &nbsp;<br>&nbsp;&nbsp;[Frames below may be incorrect and/or missing, no symbols loaded for 
tcl84.dll]&nbsp;<br>&nbsp;&nbsp;user32.dll!77d4d598() &nbsp;<br>&nbsp;&nbsp;tcl84.dll!03dbfbb8() &nbsp;<br>&nbsp;&nbsp;tcl84.dll!03dace85() &nbsp;<br>&nbsp;&nbsp;tcl84.dll!03d6d3a2() &nbsp;<br>&nbsp;&nbsp;tcl84.dll!03d8ce42() &nbsp;<br>&nbsp;&nbsp;tcl84.dll!03da9c1e() &nbsp;<br>&nbsp;&nbsp;ntdll.dll!7c91b686() &nbsp;<br>&nbsp;&nbsp;ntdll.dll!7c926abe
() &nbsp;<br>&nbsp;&nbsp;ntdll.dll!7c926a44() &nbsp;<br>&nbsp;&nbsp;ntdll.dll!7c96e0f0() &nbsp;<br>&nbsp;&nbsp;ntdll.dll!7c96e0d4() &nbsp;<br>&nbsp;&nbsp;ntdll.dll!7c9106eb() &nbsp;<br>&nbsp;&nbsp;msvcrt.dll!77c2c3c9() &nbsp;<br>&nbsp;&nbsp;tcl84.dll!03dbfbb8() &nbsp;<br>&nbsp;&nbsp;tcl84.dll!03d84943() &nbsp;<br>&nbsp;&nbsp;tcl84.dll!03d8c954
() &nbsp;<br>&nbsp;&nbsp;tcl84.dll!03d6dff8() &nbsp;<br>&nbsp;&nbsp;tcl84.dll!03d7185a() &nbsp;<br>&nbsp;&nbsp;tcl84.dll!03d6d3a2() &nbsp;<br>&nbsp;&nbsp;tcl84.dll!03d6db74() &nbsp;<br>&nbsp;&nbsp;gdi32.dll!77f1703b() &nbsp;<br>&nbsp;&nbsp;user32.dll!77d484b2() &nbsp;<br>&nbsp;&nbsp;ntdll.dll!7c926abe() &nbsp;<br>&nbsp;&nbsp;ntdll.dll!7c9268ad
() &nbsp;<br>&nbsp;&nbsp;ntdll.dll!7c91056d() &nbsp;<br>&nbsp;&nbsp;tk84.dll!03dfc4a6() &nbsp;<br>&nbsp;&nbsp;msvcrt.dll!77c2c2e3() &nbsp;<br>&nbsp;&nbsp;tcl84.dll!03d6b63b() &nbsp;<br>&nbsp;&nbsp;tk84.dll!03df4043() &nbsp;<br>&nbsp;&nbsp;tk84.dll!03e12847() &nbsp;<br>&nbsp;&nbsp;ntdll.dll!7c91056d() &nbsp;<br>&nbsp;&nbsp;msvcrt.dll!77c2c2de
() &nbsp;<br>&nbsp;&nbsp;msvcrt.dll!77c2c2e3() &nbsp;<br>&nbsp;&nbsp;tcl84.dll!03db88f4() &nbsp;<br>&nbsp;&nbsp;tcl84.dll!03db82f9() &nbsp;<br>&nbsp;&nbsp;tcl84.dll!03dab95e() &nbsp;<br>&nbsp;&nbsp;tcl84.dll!03dab971() &nbsp;<br>&nbsp;&nbsp;KWWidgets.dll!vtkKWApplication::DoOneTclEvent()&nbsp; Line 879 + 0x7 bytes&nbsp;C++
<br>&nbsp;&nbsp;KWWidgets.dll!vtkKWApplication::Start(int __formal=1, int __formal=1)&nbsp; Line 763 + 0x12 bytes&nbsp;C++<br>&nbsp;&nbsp;vtkKWParaView.dll!vtkPVApplication::Start(int argc=1, char * * argv=0x06d9f9b8)&nbsp; Line 1430 + 0x13 bytes&nbsp;C++<br>&nbsp;&nbsp;
vtkKWParaView.dll!vtkPVProcessModuleGUIHelper::ActualRun(int argc=1, char * * argv=0x06d9f9b8)&nbsp; Line 178 + 0x1f bytes&nbsp;C++<br>&nbsp;&nbsp;vtkKWParaView.dll!vtkPVProcessModuleGUIHelper::RunGUIStart(int argc=1, char * * argv=0x06d9f9b8, int numServerProcs=1, int myId=0)&nbsp; Line 163 + 0x10 bytes&nbsp;C++
<br>&nbsp;&nbsp;vtkPVServerCommon.dll!vtkProcessModule::StartClient(int argc=1, char * * argv=0x06d9f9b8)&nbsp; Line 346 + 0x21 bytes&nbsp;C++<br>&nbsp;&nbsp;vtkPVServerCommon.dll!vtkProcessModule::Start(int argc=1, char * * argv=0x06d9f9b8)&nbsp; Line 293 + 0x1a bytes&nbsp;C++
<br>&nbsp;&nbsp;vtkPVServerCommon.dll!vtkProcessModuleGUIHelper::Run(vtkPVOptions * options=0x06d9ec98)&nbsp; Line 38 + 0x1d bytes&nbsp;C++<br>&nbsp;&nbsp;paraview.exe!MyMain(int argc=1, char * * argv=0x06d77510)&nbsp; Line 79 + 0x13 bytes&nbsp;C++<br>&nbsp;&nbsp;paraview.exe!WinMain
(HINSTANCE__ * __formal=0x00400000, HINSTANCE__ * __formal=0x00400000, char * lpCmdLine=0x00051f0f, HINSTANCE__ * __formal=0x00400000)&nbsp; Line 103 + 0xd bytes&nbsp;C++<br>&nbsp;&nbsp;paraview.exe!__tmainCRTStartup()&nbsp; Line 578 + 0x35 bytes&nbsp;C
<br>&nbsp;&nbsp;paraview.exe!WinMainCRTStartup()&nbsp; Line 403&nbsp;C<br>&nbsp;&nbsp;kernel32.dll!7c816d4f() &nbsp;<br>&nbsp;&nbsp;kernel32.dll!7c8399f3()&nbsp;&nbsp;<br>&nbsp;</div>
<div>&nbsp;</div>
<div>Regards</div>
<div>&nbsp;&nbsp; Andrew</div>
<div>&nbsp;</div>
<div>-- <br><br>___________________________________________<br>Andrew J. P. Maclean<br>Centre for Autonomous Systems<br>The Rose Street Building J04<br>The University of Sydney&nbsp;&nbsp;2006&nbsp;&nbsp;NSW<br>AUSTRALIA<br>Ph: +61 2 9351 3283
<br>Fax: +61 2 9351 7474<br>URL: <a href="http://www.cas.edu.au/">http://www.cas.edu.au/</a><br>___________________________________________<br>&nbsp;</div>