freezes for > 10s when displaying long changelogs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-manager (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Binary package hint: update-manager
There are a bunch of openoffice packages in proposed right now. When selecting on of these in update-manager (does not matter if I have "Description of update" open or not) the GUI freezes and the CPU goes high for 10 seconds while "Downloading list of changes" is displayed. If I click a non-oo package the response is immediate. Selecting the same oo package again causes the same freeze/CPU churn.
I do not know how to trace a pile of python, but find enclosed a ltrace in case it can cast some light over it.
When I ran ltrace -c on it, the one click caused 6 minutes of waiting yielding these results:
% time seconds usecs/call calls function
------ ----------- ----------- --------- -------
15.23 85.527228 186 459799 free
15.13 84.985249 161 525668 memcpy
12.31 69.140534 142 485820 memset
10.55 59.279684 141 419911 malloc
8.67 48.723256 211 230058 strchr
plz rewrite update-manager in c thx bye :-P
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: update-manager 1:0.134.10
ProcVersionSign
Uname: Linux 2.6.32-24-generic i686
Architecture: i386
Date: Thu Sep 2 08:57:19 2010
ExecutablePath: /usr/bin/
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
InterpreterPath: /usr/bin/python2.6
PackageArchitec
ProcEnviron:
PATH=(custom, user)
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: update-manager
Changed in update-manager (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
This is not limited to the oo packages or the -proposed pocket, although that case is very obvious and should be easy to reproduce. Also viewing the latest linux-libc-dev in lucid-updates gives a delay, but it is sub-second.
$ apt-cache policy linux-libc-dev ch.archive. ubuntu. com/ubuntu/ lucid-proposed/main Packages ch.archive. ubuntu. com/ubuntu/ lucid-updates/main Packages security. ubuntu. com/ubuntu/ lucid-security/main Packages dpkg/status ch.archive. ubuntu. com/ubuntu/ lucid/main Packages
linux-libc-dev:
Installed: 2.6.32-24.41
Candidate: 2.6.32-25.43
Version table:
2.6.32-25.43 0
500 http://
2.6.32-24.42 0
500 http://
*** 2.6.32-24.41 0
500 http://
100 /var/lib/
2.6.32-21.32 0
500 http://