It was never reall "bandwidth".  That was a poor choice of words.  Other 
machines sharing the same Internet connection had no problem.  It only appears 
to be bandwidth on the machine where the cancel happened because you can only 
get minimal snippets of time on the Internet connection for other processes.

The unfriendly tone is because KPackage it was forced on us 
looooooooooooooooooooooooooooong before it was even BETA ready (and it still 
isn't) and became a bug ridden portion of an LTS, which should have _never_ 
been allowed.

Without looking at the code I can most likely tell you the bug.

Threads are what you get when you don't get a real operating system to start 
with.  98% of all Linux bugs are due to this.

The problem manifests itself on slow bandwidth connections so people with a 
cable connection won't see the problem.  Wireless broadband, Satellite, and 
dial-up will all see it because bandwidth has peaks and valleys.  (dial-up 
should always see it because there is little to peak.)  Someone split the 
download into threads.  When the foreground thread was killed off, the 
background thread was waiting on a 5-10 second packet time out and it missed 
all notification that it should go away.  When the packet it was waiting on 
either finally got there, or timed out, it tried to communicate with a now 
missing thread and went off into a tight loop contained in a completely un-
tested error handler.  This loop somehow allocated/consumed all access to the 
current network device.

To really test this problem you need a relatively slow connection AND you need 
the powers that be to completely ignore user requests, releasing another 
200+MEG "update" which ensures all of the host servers will be overloaded by 
download processes.  During one of those weeks you should be able to replicate 
this at will.

Most people haven't bothered to report this bug, they simply reboot the 
computer and look towards Microsoft.  This bug made it into an LTS and 
shouldn't have.

On Wednesday, November 10, 2010 12:16:58 pm you wrote:
> Ah, so the download is just not cancelled! And you actually CAN confirm
> this for Maverick too? This is all we wanted :P But you should consider
> that most people work on these tools in their free-time and that a bug
> report which is written in a somewhat unfriendly tone is not threated at
> first place. By the way: Aborting download works fine with 10.10 and the
> recent PK and KPK releases here, and I also double-checked the bandwidth
> usage afterwards, so I cannot confirm this here.

-- 
Roland Hughes, President
Logikal Solutions

http://www.theminimumyouneedtoknow.com
http://www.infiniteexposure.net

No U.S. troops have ever lost their lives defending our ethanol
reserves.

-- 
[lucid] kpackagekit waxes all Internet bandwidth until reboot
https://bugs.launchpad.net/bugs/425280
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to