7.04 --> 7.10 upgrade tool crashed; out-of-memory

Bug #154806 reported by wateenellende
6
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
New
Undecided
BigPick

Bug Description

Binary package hint: update-manager

The tool keeps crashing. First, it hogs the memory (uses about 700 MB!), then it crashes.

From the "I've crashed" window:
Traceback (most recent call last):
  File "/tmp/kde-root/adept_updaterO59YFb.tmp-extract/dist-upgrade.py", line 59, in <module>
    app.run()
  File "/tmp/kde-root/adept_updaterO59YFb.tmp-extract/DistUpgradeControler.py", line 1346, in run
    self.fullUpgrade()
  File "/tmp/kde-root/adept_updaterO59YFb.tmp-extract/DistUpgradeControler.py", line 1328, in fullUpgrade
    if not self.doDistUpgrade():
  File "/tmp/kde-root/adept_updaterO59YFb.tmp-extract/DistUpgradeControler.py", line 798, in doDistUpgrade
    res = self.cache.commit(fprogress,iprogress)
  File "/tmp/kde-root/adept_updaterO59YFb.tmp-extract/DistUpgradeCache.py", line 69, in commit
    apt.Cache.commit(self, fprogress, iprogress)
  File "/usr/lib/python2.5/site-packages/apt/cache.py", line 215, in commit
    res = self.installArchives(pm, installProgress)
  File "/usr/lib/python2.5/site-packages/apt/cache.py", line 190, in installArchives
    res = installProgress.run(pm)
  File "/usr/lib/python2.5/site-packages/apt/progress.py", line 213, in run
    pid = self.fork()
  File "/tmp/kde-root/adept_updaterO59YFb.tmp-extract/DistUpgradeViewKDE.py", line 244, in fork
    self.child_pid = os.fork()
OSError: [Errno 12] Cannot allocate memory

/var/log/dist-upgrade/main.log:
2007-10-20 11:46:30,171 DEBUG examining: 'deb http://ch.archive.ubuntu.com/ubuntu gutsy-backports main restricted universe multiverse'
2007-10-20 11:46:30,171 DEBUG entry 'deb http://ch.archive.ubuntu.com/ubuntu gutsy-backports main restricted universe multiverse' is already set to new dist
2007-10-20 11:46:30,172 DEBUG examining: 'deb-src http://ch.archive.ubuntu.com/ubuntu gutsy-backports main restricted universe multiverse'
2007-10-20 11:46:30,172 DEBUG entry 'deb-src http://ch.archive.ubuntu.com/ubuntu gutsy-backports main restricted universe multiverse' is already set to new dist
2007-10-20 11:46:30,173 DEBUG examining: 'deb http://security.ubuntu.com/ubuntu gutsy-security main restricted'
2007-10-20 11:46:30,174 DEBUG entry 'deb http://security.ubuntu.com/ubuntu gutsy-security main restricted' is already set to new dist
2007-10-20 11:46:30,175 DEBUG examining: 'deb-src http://security.ubuntu.com/ubuntu gutsy-security main restricted'
2007-10-20 11:46:30,175 DEBUG entry 'deb-src http://security.ubuntu.com/ubuntu gutsy-security main restricted' is already set to new dist
2007-10-20 11:46:30,176 DEBUG examining: 'deb http://security.ubuntu.com/ubuntu gutsy-security universe'
2007-10-20 11:46:30,177 DEBUG entry 'deb http://security.ubuntu.com/ubuntu gutsy-security universe' is already set to new dist
2007-10-20 11:46:30,177 DEBUG examining: 'deb-src http://security.ubuntu.com/ubuntu gutsy-security universe'
2007-10-20 11:46:30,178 DEBUG entry 'deb-src http://security.ubuntu.com/ubuntu gutsy-security universe' is already set to new dist
2007-10-20 11:46:30,178 DEBUG examining: 'deb http://ch.archive.ubuntu.com/ubuntu/ gutsy universe main restricted multiverse'
2007-10-20 11:46:30,179 DEBUG entry 'deb http://ch.archive.ubuntu.com/ubuntu/ gutsy universe main restricted multiverse' is already set to new dist
2007-10-20 11:46:58,782 DEBUG demoted: 'binfmt-support gcj-4.1-base gij-4.1 libevms-2.5 libgcj7-jar libglib1.2 libgtk1.2 libgtk1.2-common libjasper-runtime liblzo1 libportaudio0 libxmlsec1 libxmlsec1-nss libxmlsec1-openssl openoffice.org-filter-mobiledev pmount ttf-baekmuk xmms'
2007-10-20 11:48:00,714 DEBUG Installing 'upstart-logd' (priority in required set 'required' but not scheduled for install)
2007-10-20 11:48:01,988 DEBUG Installing 'system-services' (priority in required set 'required' but not scheduled for install)
2007-10-20 11:48:02,867 DEBUG Installing 'startup-tasks' (priority in required set 'required' but not scheduled for install)
2007-10-20 11:48:03,958 DEBUG Purging 'xorg-common' (Distro PostUpgradePurge rule)
2007-10-20 11:48:04,288 DEBUG Purging 'libgl1-mesa' (Distro PostUpgradePurge rule)
2007-10-20 11:48:04,665 DEBUG Purging 'ltsp-client' (Distro PostUpgradePurge rule)
t0 foomatic-db-engine
2007-10-20 11:48:12,674 DEBUG Upgrade:
2007-10-20 11:48:12,678 DEBUG Free space on /: 6201040896
2007-10-20 11:48:12,679 DEBUG Dir /usr mounted on /
2007-10-20 11:48:12,681 DEBUG Dir /var mounted on /
2007-10-20 11:48:12,682 DEBUG Dir /boot mounted on /
2007-10-20 11:48:12,684 DEBUG Dir /var/cache/apt/archives mounted on /
2007-10-20 11:48:12,685 DEBUG Dir /home mounted on /
2007-10-20 11:48:12,686 DEBUG fs_free contains: '{'/var': <DistUpgradeControler.FreeSpace object at 0xa038eac>, '/home': <DistUpgradeControler.FreeSpace object at 0xa038eac>, '/boot': <DistUpgradeControler.FreeSpace object at 0xa038eac>, '/usr': <DistUpgradeControler.FreeSpace object at 0xa038eac>, '/': <DistUpgradeControler.FreeSpace object at 0xa038eac>, '/var/cache/apt/archives': <DistUpgradeControler.FreeSpace object at 0xa038eac>}'
2007-10-20 11:48:12,717 DEBUG linux-image-2.6.20-8-lowlatency (upgrade|installed) added with 10485760 to boot space
2007-10-20 11:48:12,819 DEBUG linux-image-2.6.22-9-386 (upgrade|installed) added with 10485760 to boot space
2007-10-20 11:48:12,952 DEBUG linux-image-2.6.22-8-generic (upgrade|installed) added with 10485760 to boot space
2007-10-20 11:48:13,084 DEBUG linux-image-2.6.22-14-386 (new-install) added with 10485760 to boot space
2007-10-20 11:48:13,281 DEBUG dir '/var/cache/apt/archives' needs '0.0' of '<DistUpgradeControler.FreeSpace object at 0xa038eac>' (6201040896.000000)
2007-10-20 11:48:13,282 DEBUG dir '/usr' needs '432619520.0' of '<DistUpgradeControler.FreeSpace object at 0xa038eac>' (6201040896.000000)
2007-10-20 11:48:13,283 DEBUG dir '/usr' needs '52428800' of '<DistUpgradeControler.FreeSpace object at 0xa038eac>' (5768421376.000000)
2007-10-20 11:48:13,283 DEBUG dir '/boot' needs '41943040' of '<DistUpgradeControler.FreeSpace object at 0xa038eac>' (5715992576.000000)
2007-10-20 11:48:13,284 DEBUG dir '/' needs '10485760' of '<DistUpgradeControler.FreeSpace object at 0xa038eac>' (5674049536.000000)
2007-10-20 11:48:23,534 INFO using backports in '/tmp/kde-root/adept_updaterO59YFb.tmp-extract/backports'
2007-10-20 11:48:23,538 DEBUG have: ['/tmp/kde-root/adept_updaterO59YFb.tmp-extract/backports/release-upgrader-dpkg_1.14.5ubuntu11.2_i386.udeb', '/tmp/kde-root/adept_updaterO59YFb.tmp-extract/backports/release-upgrader-apt_0.6.46.4ubuntu10.3_i386.udeb']
2007-10-20 11:48:23,540 DEBUG setting MinAge to 10
2007-10-20 11:48:23,542 DEBUG setting MinAge to 10
2007-10-20 11:48:23,878 INFO cache.commit()
2007-10-20 11:48:30,878 ERROR not handled expection in KDE frontend:
Traceback (most recent call last):
  File "/tmp/kde-root/adept_updaterO59YFb.tmp-extract/dist-upgrade.py", line 59, in <module>
    app.run()

  File "/tmp/kde-root/adept_updaterO59YFb.tmp-extract/DistUpgradeControler.py", line 1346, in run
    self.fullUpgrade()

  File "/tmp/kde-root/adept_updaterO59YFb.tmp-extract/DistUpgradeControler.py", line 1328, in fullUpgrade
    if not self.doDistUpgrade():

  File "/tmp/kde-root/adept_updaterO59YFb.tmp-extract/DistUpgradeControler.py", line 798, in doDistUpgrade
    res = self.cache.commit(fprogress,iprogress)

  File "/tmp/kde-root/adept_updaterO59YFb.tmp-extract/DistUpgradeCache.py", line 69, in commit
    apt.Cache.commit(self, fprogress, iprogress)

  File "/usr/lib/python2.5/site-packages/apt/cache.py", line 215, in commit
    res = self.installArchives(pm, installProgress)

  File "/usr/lib/python2.5/site-packages/apt/cache.py", line 190, in installArchives
    res = installProgress.run(pm)

  File "/usr/lib/python2.5/site-packages/apt/progress.py", line 213, in run
    pid = self.fork()

  File "/tmp/kde-root/adept_updaterO59YFb.tmp-extract/DistUpgradeViewKDE.py", line 244, in fork
    self.child_pid = os.fork()

OSError: [Errno 12] Cannot allocate memory

2007-10-20 11:48:31,082 ERROR failed to import apport python module, can't report bug: No module named apport.python_hook
2007-10-20 11:48:31,106 DEBUG can't find apport gui

Revision history for this message
wateenellende (fpbeekhof) wrote :

This is the apt.log file.

BigPick (wpickard)
Changed in update-manager:
assignee: nobody → wpickard
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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