<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=218283412-25032006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=218283412-25032006><FONT face=Arial
color=#0000ff size=2>I've got the same problem here...</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=218283412-25032006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=218283412-25032006><FONT face=Arial
color=#0000ff size=2>Visual Studio 8 (2005)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=218283412-25032006><FONT face=Arial
color=#0000ff size=2>Paraview 2.4.3 (from cvs) - built as
Release</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=218283412-25032006><FONT face=Arial
color=#0000ff size=2>cmake 2.2 - patch 3</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=218283412-25032006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=218283412-25032006><FONT face=Arial
color=#0000ff size=2>Machine: AMD Athlon 64 3000+, 1Gb of memory, Windows
XP/SP2, NVidia GeForce FX5200 128Mb</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=218283412-25032006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=218283412-25032006><FONT face=Arial
color=#0000ff size=2>Regards</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=218283412-25032006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=218283412-25032006><FONT face=Arial
color=#0000ff size=2>Renato</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=pt-br dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>De:</B>
paraview-bounces+rnelias=nacad.ufrj.br@paraview.org
[mailto:paraview-bounces+rnelias=nacad.ufrj.br@paraview.org] <B>Em nome de
</B>Andrew Maclean<BR><B>Enviada em:</B> sexta-feira, 24 de março de 2006
22:57<BR><B>Para:</B> paraview@paraview.org<BR><B>Assunto:</B> [Paraview] Crash
- ParaView + Visual Studio 2005<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>ParaView still does not run when compiled with VS 2005.</DIV>
<DIV>I am using the latest CVS.</DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </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><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV>I hope this helps because I suspect that there is a bit of code like
this here.</DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </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></BODY></HTML>