Public bug reported:

Seen on Feisty, but also exists in Dapper:

[EMAIL PROTECTED]:/tmp/nload-0.6.0/src$ dpkg -l nload
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name                               Version                            
Description
+++-==================================-==================================-====================================================================================
ii  nload                              0.6.0-3                            A 
realtime console network usage monitor


When you start nload the 'normal' way it will provide you with an average 
value. This value is calculated  based on a window, the user can set the window 
using the -s  flag followed by a value between 1 and 9 inclusive, when not 
passed 9 will be used. This smoothvalue * 45 is the number of values that will 
be stored. As soon as the bandwidth exceeds a certain value (problem doesn't 
occur with 60 mbit, but occurs with 90 mbit after approx three minutes) the 
calculated sum of transferred data will overflow the 32 bit digit which is 
stored withing it and you will need to restart nload to get a new reading. (or 
you should specify using the -s flag from the beginning).

The error lies in the file status.cpp in the function unsigned long
Status::calcAverage(), I will provide a diff which solves this issue.

** Affects: nload (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
nload average function files with high bitrates
https://bugs.launchpad.net/bugs/106197
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[EMAIL PROTECTED]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to