<pre>Dear All,<br>I am upgrading my program from VTK version 4.2 to VTK version 5.0.3.<br>And after that, sometimes, there are two errors may occur when running the<br>program.<br>Those two running errors are:<br>1.<br>Assertion failed!
<br><br>Program: ?File: ..\..\vtk-5.0.3\common\vtkGarbageCollector.cxx<br>Line: 700<br><br>Expression: (*e)->Object->GetReferenceCount()= =1<br><br>For information on how your program can cause an assertion failure, see
<br>the Visual C++ documentation on asserts.<br><br><br>And 2.<br><br>ERROR: In ..\..\vtk-5.0.3\Filtering\vtkStreamingDemandDrivenPipeline.cxx,<br>line 557<br>vtkStreamingDemandDrivenPipeline (0E847508): No maximum number of pieces
<br>has been set in the information for output port 0 on algorithm<br>vtkTubeFilter(0E8999E8).<br><br>I am using Visual C++ 2005 with Windows XP. I can not find out what cause<br>those errors. Dose anyone knows what may cause those errors?
<br><br>Thanks very much.<br>Best regards,<br>King So<br></pre>