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

Bug #349639 reported by Michael Jones
2
Affects Status Importance Assigned to Milestone
software-properties (Ubuntu)
Fix Released
Undecided
Unassigned

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.

Revision history for this message
Michael Jones (jonesmz) wrote :
Revision history for this message
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?

Revision history for this message
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/DialogCacheOutdated.py'
--- softwareproperties/gtk/DialogCacheOutdated.py 2007-01-20 07:32:49 +0000
+++ softwareproperties/gtk/DialogCacheOutdated.py 2009-07-13 14:00:27 +0000
@@ -67,6 +68,6 @@
             while lock.locked():
                 while gtk.events_pending():
                     gtk.main_iteration()
- time.sleep(0.05)
+ time.sleep(0.05)
             self.parent.set_sensitive(True)
         return res

Changed in software-properties (Ubuntu):
status: New → Incomplete
Revision history for this message
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/SoftwarePropertiesKDE.py:
    - 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
      KDE
  * softwareproperties/gtk/DialogCacheOutdated.py:
    - fix incorrect wait on synaptic (LP: #357617, LP: #349639)
  * softwareproperties/SoftwareProperties.py:
    - 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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.