software-properties-gtk goes beserk when downloading package information.

Bug #349639 reported by Michael Jones on 2009-03-27
Affects Status Importance Assigned to Milestone
software-properties (Ubuntu)

Bug Description

Binary package hint: software-properties-gtk

This application consistently sucks up 90+% cpu. While it doesn't crash, downloading package lists should make my laptop start overheating. That seems... wrong, to me.
Take a gander at the screenshot.

Michael Jones (jonesmz) wrote :
yurx cherio (cherio) wrote :

Same here.
I am running Jaunty 64bit.
My download speed is very low. I am speculating now but is there a chance that download speed causes this high CPU usage?

Michael Vogt (mvo) wrote :

Thanks for your bugreport.

Could you please find the attached patch? I commited it to karmic, it shoudl fix the issue.

=== modified file 'softwareproperties/gtk/'
--- softwareproperties/gtk/ 2007-01-20 07:32:49 +0000
+++ softwareproperties/gtk/ 2009-07-13 14:00:27 +0000
@@ -67,6 +68,6 @@
             while lock.locked():
                 while gtk.events_pending():
- time.sleep(0.05)
+ time.sleep(0.05)
         return res

Changed in software-properties (Ubuntu):
status: New → Incomplete
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package software-properties - 0.75

software-properties (0.75) karmic; urgency=low

  * new helper script "add-apt-repository" that can be used to
    enable a repository from the commandline. Useful for e.g.
    'add-apt-repository ppa:gnome-desktop'
  * fix error in auto-upgrade settings when
    dpkg-reconfigure unattended-upgrades was used (LP: #387704)
  * po/zh_TW.po:
    - updated, thanks to Roy Chan (LP: #365040)
  * softwareproperties/kde/
    - do not error on cancel (LP: #364288)
    - use the SUDO_USER home instead of /root (if available)
      (LP: #364197)
    - add utf8() function and replace the custom converts to it
      (hopefully fixes LP: #362188)
    - disable "Find best server" for now, the threading crashing
  * softwareproperties/gtk/
    - fix incorrect wait on synaptic (LP: #357617, LP: #349639)
  * softwareproperties/
    - check/ensure apt daily cron job is executable (LP: #390319)

 -- Michael Vogt <email address hidden> Tue, 14 Jul 2009 16:54:38 +0200

Changed in software-properties (Ubuntu):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers