RES: [Paraview] Crash - ParaView + Visual Studio 2005
Renato N. Elias
rnelias at nacad.ufrj.br
Sat Mar 25 07:38:07 EST 2006
I've got the same problem here...
Visual Studio 8 (2005)
Paraview 2.4.3 (from cvs) - built as Release
cmake 2.2 - patch 3
Machine: AMD Athlon 64 3000+, 1Gb of memory, Windows XP/SP2, NVidia GeForce
FX5200 128Mb
Regards
Renato
_____
De: paraview-bounces+rnelias=nacad.ufrj.br at paraview.org
[mailto:paraview-bounces+rnelias=nacad.ufrj.br at paraview.org] Em nome de
Andrew Maclean
Enviada em: sexta-feira, 24 de março de 2006 22:57
Para: paraview at paraview.org
Assunto: [Paraview] Crash - ParaView + Visual Studio 2005
ParaView still does not run when compiled with VS 2005.
I am using the latest CVS.
1) Build ParaView using Visual Studio 2005.
2) Start ParaView
3) Select a source e.g. Box Press Accept.
4) Select Cut with imlplicit plane or sphere (7th icon) and press Accept.
5) The application crashes with a vector subscript out of range error.
To me, there seem to be definite coding problems here relating to the STL.
An observation that I can make is that we must remember the indexing in the
STL is based on half-open intervals [...).
So accessing the end pointer or past it, will trigger an exception.
Earlier (and other current) compilers tended to ignore dereferencing end(),
but will trigger an exception for dereferencing past the end pointer.
Fortunatly (and I mean it - because the behaviour is standards compliant)
this compiler will trigger an exception then the end pointer is
dereferenced.
I hope this helps because I suspect that there is a bit of code like this
here.
Here is the call stack:
> msvcp80d.dll!std::_Debug_message(const wchar_t * message=0x0471df90, const
wchar_t * file=0x0471dfd8, unsigned int line=756) Line 23 C++
vtkPVServerManager.dll!std::vector<double,std::allocator<double>
>::operator[](unsigned int _Pos=0) Line 756 + 0x17 bytes C++
vtkPVServerManager.dll!vtkSMDoubleVectorProperty::SetElements(const double
* values=0x00000000) Line 253 + 0x18 bytes C++
vtkPVServerManager.dll!vtkSMPropertyStatusManager::DuplicateProperty(vtkSMVe
ctorProperty * src=0x0a61caa0, vtkSMVectorProperty * dest=0x0aa481b8) Line
264 + 0x1c bytes C++
vtkPVServerManager.dll!vtkSMPropertyStatusManager::RegisterProperty(vtkSMVec
torProperty * property=0x0a61caa0) Line 63 + 0xe bytes C++
vtkKWParaView.dll!vtkPVSimpleAnimationCue::SetAnimatedPropertyName(const
char * name=0x0a61d1ec) Line 1151 C++
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++
vtkKWParaView.dll!vtkPVAnimationManager::AddProperties(vtkPVSource *
pvSource=0x0a499ea8, vtkSMProxy * proxy=0x0a4a1048, vtkPVAnimationCueTree *
pvCueTree=0x0aa385d0) Line 577 C++
vtkKWParaView.dll!vtkPVAnimationManager::AddNewSources () Line 521 + 0x14
bytes C++
vtkKWParaView.dll!vtkPVAnimationManager::Update() Line 318 C++
vtkKWParaView.dll!vtkPVWindow::UpdateAnimationInterface() Line 3689 C++
vtkKWParaView.dll!vtkPVImplicitPlaneWidget::Accept () Line 337 C++
vtkKWParaView.dll!vtkPVSelectWidget::Accept() Line 341 + 0x12 bytes C++
vtkKWParaView.dll!vtkPVSource::UpdateVTKSourceParameters() Line 2048 +
0x12 bytes C++
vtkKWParaView.dll!vtkPVSource::Accept (int hideFlag=0, int hideSource=1)
Line 1092 + 0x12 bytes C++
vtkKWParaView.dll!vtkPVSource::Accept(int hideFlag=0) Line 211 + 0x27
bytes C++
vtkKWParaView.dll!vtkPVSource::AcceptCallbackInternal() Line 1052 + 0x14
bytes C++
vtkKWParaView.dll!vtkPVSource::AcceptCallback() Line 1025 + 0x12 bytes
C++
vtkKWParaView.dll!vtkPVSourceCppCommand(vtkPVSource * op=0x0a499ea8,
Tcl_Interp * interp=0x06d576b8, int argc=2, char * * argv=0x00dce8f0) Line
600 C++
vtkKWParaView.dll!vtkPVSourceCommand(void * cd=0x0a4a0dc0, Tcl_Interp *
interp=0x06d576b8, int argc=2, char * * argv=0x00dce8f0) Line 30 + 0x17
bytes C++
tcl84.dll!03d6c5bb()
[Frames below may be incorrect and/or missing, no symbols loaded for
tcl84.dll]
user32.dll!77d4d598()
tcl84.dll!03dbfbb8()
tcl84.dll!03dace85()
tcl84.dll!03d6d3a2()
tcl84.dll!03d8ce42()
tcl84.dll!03da9c1e()
ntdll.dll!7c91b686()
ntdll.dll!7c926abe ()
ntdll.dll!7c926a44()
ntdll.dll!7c96e0f0()
ntdll.dll!7c96e0d4()
ntdll.dll!7c9106eb()
msvcrt.dll!77c2c3c9()
tcl84.dll!03dbfbb8()
tcl84.dll!03d84943()
tcl84.dll!03d8c954 ()
tcl84.dll!03d6dff8()
tcl84.dll!03d7185a()
tcl84.dll!03d6d3a2()
tcl84.dll!03d6db74()
gdi32.dll!77f1703b()
user32.dll!77d484b2()
ntdll.dll!7c926abe()
ntdll.dll!7c9268ad ()
ntdll.dll!7c91056d()
tk84.dll!03dfc4a6()
msvcrt.dll!77c2c2e3()
tcl84.dll!03d6b63b()
tk84.dll!03df4043()
tk84.dll!03e12847()
ntdll.dll!7c91056d()
msvcrt.dll!77c2c2de ()
msvcrt.dll!77c2c2e3()
tcl84.dll!03db88f4()
tcl84.dll!03db82f9()
tcl84.dll!03dab95e()
tcl84.dll!03dab971()
KWWidgets.dll!vtkKWApplication::DoOneTclEvent() Line 879 + 0x7 bytes C++
KWWidgets.dll!vtkKWApplication::Start(int __formal=1, int __formal=1)
Line 763 + 0x12 bytes C++
vtkKWParaView.dll!vtkPVApplication::Start(int argc=1, char * *
argv=0x06d9f9b8) Line 1430 + 0x13 bytes C++
vtkKWParaView.dll!vtkPVProcessModuleGUIHelper::ActualRun(int argc=1, char
* * argv=0x06d9f9b8) Line 178 + 0x1f bytes C++
vtkKWParaView.dll!vtkPVProcessModuleGUIHelper::RunGUIStart(int argc=1,
char * * argv=0x06d9f9b8, int numServerProcs=1, int myId=0) Line 163 + 0x10
bytes C++
vtkPVServerCommon.dll!vtkProcessModule::StartClient(int argc=1, char * *
argv=0x06d9f9b8) Line 346 + 0x21 bytes C++
vtkPVServerCommon.dll!vtkProcessModule::Start(int argc=1, char * *
argv=0x06d9f9b8) Line 293 + 0x1a bytes C++
vtkPVServerCommon.dll!vtkProcessModuleGUIHelper::Run(vtkPVOptions *
options=0x06d9ec98) Line 38 + 0x1d bytes C++
paraview.exe!MyMain(int argc=1, char * * argv=0x06d77510) Line 79 + 0x13
bytes C++
paraview.exe!WinMain (HINSTANCE__ * __formal=0x00400000, HINSTANCE__ *
__formal=0x00400000, char * lpCmdLine=0x00051f0f, HINSTANCE__ *
__formal=0x00400000) Line 103 + 0xd bytes C++
paraview.exe!__tmainCRTStartup() Line 578 + 0x35 bytes C
paraview.exe!WinMainCRTStartup() Line 403 C
kernel32.dll!7c816d4f()
kernel32.dll!7c8399f3()
Regards
Andrew
--
___________________________________________
Andrew J. P. Maclean
Centre for Autonomous Systems
The Rose Street Building J04
The University of Sydney 2006 NSW
AUSTRALIA
Ph: +61 2 9351 3283
Fax: +61 2 9351 7474
URL: http://www.cas.edu.au/
___________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/paraview/attachments/20060325/437b976f/attachment.html
More information about the ParaView
mailing list