<div>ParaView still does not run when compiled with VS 2005.</div>
<div>I am using the latest CVS.</div>
<div> </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> </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) 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> </div>
<div>I hope this helps because I suspect that there is a bit of code like this here.</div>
<div> </div>
<div> </div>
<div>Here is the call stack:</div>
<div>> msvcp80d.dll!std::_Debug_message(const wchar_t * message=0x0471df90, const wchar_t * file=0x0471dfd8, unsigned int line=756) Line 23 C++<br> vtkPVServerManager.dll!std::vector<double,std::allocator<double> >::operator[](unsigned int _Pos=0) Line 756 + 0x17 bytes C++
<br> vtkPVServerManager.dll!vtkSMDoubleVectorProperty::SetElements(const double * values=0x00000000) Line 253 + 0x18 bytes C++<br> vtkPVServerManager.dll!vtkSMPropertyStatusManager::DuplicateProperty(vtkSMVectorProperty * src=0x0a61caa0, vtkSMVectorProperty * dest=0x0aa481b8) Line 264 + 0x1c bytes C++
<br> vtkPVServerManager.dll!vtkSMPropertyStatusManager::RegisterProperty(vtkSMVectorProperty * property=0x0a61caa0) Line 63 + 0xe bytes C++<br> vtkKWParaView.dll!vtkPVSimpleAnimationCue::SetAnimatedPropertyName(const char * name=0x0a61d1ec) Line 1151 C++
<br> 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) Line 692 + 0x16 bytes C++
<br> vtkKWParaView.dll!vtkPVAnimationManager::AddProperties(vtkPVSource * pvSource=0x0a499ea8, vtkSMProxy * proxy=0x0a4a1048, vtkPVAnimationCueTree * pvCueTree=0x0aa385d0) Line 577 C++<br> vtkKWParaView.dll!vtkPVAnimationManager::AddNewSources
() Line 521 + 0x14 bytes C++<br> vtkKWParaView.dll!vtkPVAnimationManager::Update() Line 318 C++<br> vtkKWParaView.dll!vtkPVWindow::UpdateAnimationInterface() Line 3689 C++<br> vtkKWParaView.dll!vtkPVImplicitPlaneWidget::Accept
() Line 337 C++<br> vtkKWParaView.dll!vtkPVSelectWidget::Accept() Line 341 + 0x12 bytes C++<br> vtkKWParaView.dll!vtkPVSource::UpdateVTKSourceParameters() Line 2048 + 0x12 bytes C++<br> vtkKWParaView.dll!vtkPVSource::Accept
(int hideFlag=0, int hideSource=1) Line 1092 + 0x12 bytes C++<br> vtkKWParaView.dll!vtkPVSource::Accept(int hideFlag=0) Line 211 + 0x27 bytes C++<br> vtkKWParaView.dll!vtkPVSource::AcceptCallbackInternal() Line 1052 + 0x14 bytes C++
<br> vtkKWParaView.dll!vtkPVSource::AcceptCallback() Line 1025 + 0x12 bytes C++<br> vtkKWParaView.dll!vtkPVSourceCppCommand(vtkPVSource * op=0x0a499ea8, Tcl_Interp * interp=0x06d576b8, int argc=2, char * * argv=0x00dce8f0) Line 600 C++
<br> vtkKWParaView.dll!vtkPVSourceCommand(void * cd=0x0a4a0dc0, Tcl_Interp * interp=0x06d576b8, int argc=2, char * * argv=0x00dce8f0) Line 30 + 0x17 bytes C++<br> tcl84.dll!03d6c5bb() <br> [Frames below may be incorrect and/or missing, no symbols loaded for
tcl84.dll] <br> user32.dll!77d4d598() <br> tcl84.dll!03dbfbb8() <br> tcl84.dll!03dace85() <br> tcl84.dll!03d6d3a2() <br> tcl84.dll!03d8ce42() <br> tcl84.dll!03da9c1e() <br> ntdll.dll!7c91b686() <br> ntdll.dll!7c926abe
() <br> ntdll.dll!7c926a44() <br> ntdll.dll!7c96e0f0() <br> ntdll.dll!7c96e0d4() <br> ntdll.dll!7c9106eb() <br> msvcrt.dll!77c2c3c9() <br> tcl84.dll!03dbfbb8() <br> tcl84.dll!03d84943() <br> tcl84.dll!03d8c954
() <br> tcl84.dll!03d6dff8() <br> tcl84.dll!03d7185a() <br> tcl84.dll!03d6d3a2() <br> tcl84.dll!03d6db74() <br> gdi32.dll!77f1703b() <br> user32.dll!77d484b2() <br> ntdll.dll!7c926abe() <br> ntdll.dll!7c9268ad
() <br> ntdll.dll!7c91056d() <br> tk84.dll!03dfc4a6() <br> msvcrt.dll!77c2c2e3() <br> tcl84.dll!03d6b63b() <br> tk84.dll!03df4043() <br> tk84.dll!03e12847() <br> ntdll.dll!7c91056d() <br> msvcrt.dll!77c2c2de
() <br> msvcrt.dll!77c2c2e3() <br> tcl84.dll!03db88f4() <br> tcl84.dll!03db82f9() <br> tcl84.dll!03dab95e() <br> tcl84.dll!03dab971() <br> KWWidgets.dll!vtkKWApplication::DoOneTclEvent() Line 879 + 0x7 bytes C++
<br> KWWidgets.dll!vtkKWApplication::Start(int __formal=1, int __formal=1) Line 763 + 0x12 bytes C++<br> vtkKWParaView.dll!vtkPVApplication::Start(int argc=1, char * * argv=0x06d9f9b8) Line 1430 + 0x13 bytes C++<br>
vtkKWParaView.dll!vtkPVProcessModuleGUIHelper::ActualRun(int argc=1, char * * argv=0x06d9f9b8) Line 178 + 0x1f bytes C++<br> vtkKWParaView.dll!vtkPVProcessModuleGUIHelper::RunGUIStart(int argc=1, char * * argv=0x06d9f9b8, int numServerProcs=1, int myId=0) Line 163 + 0x10 bytes C++
<br> vtkPVServerCommon.dll!vtkProcessModule::StartClient(int argc=1, char * * argv=0x06d9f9b8) Line 346 + 0x21 bytes C++<br> vtkPVServerCommon.dll!vtkProcessModule::Start(int argc=1, char * * argv=0x06d9f9b8) Line 293 + 0x1a bytes C++
<br> vtkPVServerCommon.dll!vtkProcessModuleGUIHelper::Run(vtkPVOptions * options=0x06d9ec98) Line 38 + 0x1d bytes C++<br> paraview.exe!MyMain(int argc=1, char * * argv=0x06d77510) Line 79 + 0x13 bytes C++<br> paraview.exe!WinMain
(HINSTANCE__ * __formal=0x00400000, HINSTANCE__ * __formal=0x00400000, char * lpCmdLine=0x00051f0f, HINSTANCE__ * __formal=0x00400000) Line 103 + 0xd bytes C++<br> paraview.exe!__tmainCRTStartup() Line 578 + 0x35 bytes C
<br> paraview.exe!WinMainCRTStartup() Line 403 C<br> kernel32.dll!7c816d4f() <br> kernel32.dll!7c8399f3() <br> </div>
<div> </div>
<div>Regards</div>
<div> Andrew</div>
<div> </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 2006 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> </div>