MantisBT - ParaView
View Issue Details
0009076ParaViewBugpublic2009-05-27 16:512011-01-13 17:00
Alan Scott 
Utkarsh Ayachit 
normalminorrandom
closedfixed 
 
3.8 
0009076: Bug - Received progress not in the range 0 - 100: -56
There is a bug occurring that outputs trash to the output message screen.

Utkarsh says he can randomly reproduce this with g1s1. It is multi-processor, and seems to change depending on the number of processors. Output is as follows:

ERROR: In /usr/local/viz/paraview/src/ParaView/3.6.0/ParaView3/Servers/Common/vtkProcessModuleConnection.cxx, line 157
vtkServerConnection (0xd31f80): Received progres not in the range 0 - 100: -56

No tags attached.
Issue History
2009-05-27 16:51Alan ScottNew Issue
2009-05-27 17:42Alan ScottNote Added: 0016583
2009-07-22 09:56Utkarsh AyachitNote Added: 0016934
2009-07-22 09:56Utkarsh AyachitStatusbacklog => @80@
2009-07-22 09:56Utkarsh AyachitFixed in Version => 3.8
2009-07-22 09:56Utkarsh AyachitResolutionopen => fixed
2009-07-22 09:56Utkarsh AyachitAssigned To => Utkarsh Ayachit
2009-07-22 17:26Alan ScottNote Added: 0016947
2009-07-22 17:26Alan ScottStatus@80@ => closed
2011-01-13 17:00Source_changeset_attached => VTK master a2bd8391
2011-01-13 17:00Source_changeset_attached => VTK master 020ef709

Notes
(0016583)
Alan Scott   
2009-05-27 17:42   
I am able to reliably replicate this bug with 8 servers using g1s1.
(0016934)
Utkarsh Ayachit   
2009-07-22 09:56   
commit 6961bb88b1fe9f6463692ddd38b19aea7d71ac3b
Author: Utkarsh Ayachit <utkarsh.ayachit@kitware.com>
Date: Thu Jun 18 21:03:52 2009 +0000

    BUG: Fixed BUG 0009076. Exodus reader was firing progress > 1.0 which was
    resulting in incorrect values being reported to the client resulting in the
    "Received progres not in the range 0 - 100: -56" error messages. Fixed that.

diff --git a/VTK/Hybrid/vtkPExodusIIReader.cxx b/VTK/Hybrid/vtkPExodusIIReader.cxx
index 9b04899..853b0f7 100644
--- a/VTK/Hybrid/vtkPExodusIIReader.cxx
+++ b/VTK/Hybrid/vtkPExodusIIReader.cxx
@@ -122,10 +122,13 @@ protected:
     if(event == vtkCommand::ProgressEvent)
     {
       double num = Reader->GetNumberOfFileNames();
- if(num == 0)
+ if (num <= 1)
+ {
         num = Reader->GetNumberOfFiles();
+ }
       double* progress = static_cast<double*>(callData);
       double newProgress = *progress/num + Index/num;
+ cout << newProgress << endl;
       Reader->UpdateProgress(newProgress);
     }
   }
(0016947)
Alan Scott   
2009-07-22 17:26   
Since I could not reliably replicate this bug, I am closing it as fixed until I see it again.