<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="country-region"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PlaceName"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PlaceType"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="place"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Hi Amy,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Unfortunately, there are still problems
with vectors.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Built Ok, and I was able to load one of
the test files say: blow.vtk<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Then try cutting with an implicit plane
using the icon in the menu bar – you will get a debug assertion “vector
subscript out of range.”<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Regards<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> Andrew<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=3 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Amy Squillacote
[mailto:amy.squillacote@kitware.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, 15 March 2006
06:49<br>
<b><span style='font-weight:bold'>To:</span></b> a.maclean@cas.edu.au<br>
<b><span style='font-weight:bold'>Cc:</span></b> paraview@paraview.org<br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: [Paraview] Run
Problem using Viaual Studio 8.0</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Hi Andrew,<br>
<br>
Please update your ParaView 2.4 CVS repository and try building again. I
checked in changes this afternoon to that CVS branch that should fix your build
problems. Please let us know if you encounter more problems.<br>
<br>
- Amy<br>
<br>
At 09:27 AM 3/14/2006, Amy Squillacote wrote:<br>
<br>
<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Hi Andrew,<br>
<br>
I'm copying this thread back to the ParaView users list to keep other people
up-to-date on this issue. The error around line 1205 in
vtkClientServerStream.cxx has now been fixed both on the trunk and the 2.4
branch of the ParaView CVS repository. Another developer at Kitware (who
has a Visual Studio 8.0 compiler) is looking into the problem in
vtkInformationVectorKey. I'll let you know when it has been fixed.<br>
<br>
- Amy<br>
<br>
At 10:33 PM 3/13/2006, Andrew Maclean wrote:<br>
<br>
<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face="Times New Roman"><span
style='font-size:10.0pt;color:navy'>Hi Amy,<br>
<br>
It still won’t run – an exception is raised at line 1205 in
vtkClientserver.cxx.<br>
<br>
Thanks for fixing line 239 (I prefer your solution to mine!), but in the same
bug report I also mentioned line1205 and, as I thought, it is not fixed.<br>
Look at line 1205 – in vtkClientServerStream.cxx [ unsigned char* end =
&*this->Internal->Data.end(); ]<br>
This raises a “vector iterator not dereferencable” error. This is
actually correct behavior; the standard does not allow you to dereference the
end iterator. It just so happens that this compiler picks up this one and no
others do!<br>
<br>
<br>
My suggestions would be:<br>
<br>
1 ) Delete lines 1208 to 1211 and add the following at line 1202:<br>
</span></font><b><font size=2><span style='font-size:10.0pt;font-weight:bold'>if(this->Internal->Data.empty())<br>
{<br>
return 0;<br>
}<br>
</span></font></b><font size=2 color=navy><span style='font-size:10.0pt;
color:navy'>This does the empty vector check before anything happens.<br>
<br>
2) You can then (but I don’t like it – it’s a kludge which
fools the compiler) replace:<br>
<b><span style='font-weight:bold'>unsigned char *end =
&*this->Internal->Data.end();<br>
</span></b>with<br>
</span></font><b><font size=2><span style='font-size:10.0pt;font-weight:bold'>unsigned
char *end = begin+this->Internal->Data.size()*sizeof(unsigned char);<br>
</span></font></b><font size=2 color=navy><span style='font-size:10.0pt;
color:navy'> <br>
and the parser seems to work.<br>
<br>
3) But then you then get a crash at line 138 in vtkInformationVectorKey.cxx.
Once again this line triggers a “vector subscript out of range
error”.<br>
<br>
… this is getting complex! I don’t know this code very
well. I am guessing that v is empty and that info is empty also. So something
is not being checked for being empty in ParaView.<br>
<br>
I suspect something in vtkSMProxy::UpdateVTKObjects(); line 875.<br>
<br>
Attached is the call stack for this crash.<br>
<br>
<br>
4) Could you also disable the deprecated warnings by adding this to the
CMakeLists.txt file?<br>
<br>
<br>
I hope all this helps.<br>
<br>
<br>
Regards<br>
<br>
Andrew<br>
<br>
<o:p></o:p></span></font></p>
<p class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Amy Squillacote
[ <a href="mailto:amy.squillacote@kitware.com" eudora=autourl>mailto:amy.squillacote@kitware.com</a>]
<br>
<b><span style='font-weight:bold'>Sent:</span></b> Tuesday, 14 March 2006 00:58<br>
<b><span style='font-weight:bold'>To:</span></b> a.maclean@cas.edu.au;
paraview@paraview.org<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [Paraview] Run
Problem using Viaual Studio 8.0<br>
</span></font> <br>
Hi Andrew,<br>
<br>
A change was made recently (a week ago) to fix this problem both on the trunk
and the 2.4 branch of the ParaView CVS repository. How recent is your
checkout of ParaView? If it's older than a week ago, please try updating
the source tree and rebuilding. If your source tree is up-to-date and
you're still seeing the problem, can you tell where the end iterator is being
dereferenced and will you send us a stack trace?<br>
<br>
- Amy<br>
<br>
At 01:57 AM 3/11/2006, Andrew Maclean wrote:<br>
<br>
Hi All,<br>
I have been able to compile ParaView OK using Visual Studio
8.0 (it compiles with the usual warnings about {Microsoft} deprecated functions)
but it will not run. <br>
I have filed a bug report (2926) but I am curious to see if others are able to
run ParaView after compiling with Visual Studio 8.0. The crash seems to be
caused by dereferencing the end iterator.<br>
Am I the only one using Visual Studio 8.0 and ParaView?<br>
<br>
Andrew<br>
-- <br>
<br>
___________________________________________<br>
Andrew J. P. Maclean<br>
Centre for Autonomous Systems<br>
The Rose Street Building J04<br>
The <st1:place w:st="on"><st1:PlaceType w:st="on">University</st1:PlaceType> of
<st1:PlaceName w:st="on">Sydney</st1:PlaceName></st1:place> 2006
NSW<br>
<st1:country-region w:st="on"><st1:place w:st="on">AUSTRALIA</st1:place></st1:country-region><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>
<br>
_______________________________________________<br>
ParaView mailing list<br>
ParaView@paraview.org<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" eudora=autourl>http://www.paraview.org/mailman/listinfo/paraview</a><o:p></o:p></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>_______________________________________________<br>
ParaView mailing list<br>
ParaView@paraview.org<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" eudora=autourl>http://www.paraview.org/mailman/listinfo/paraview</a><o:p></o:p></span></font></p>
</div>
</body>
</html>