Well those logs look very promising. As expected the patch stops the
script from going into an infinite loop, however it did not solve the
memory leak.

2007-10-23 18:34:55,490 INFO cache.commit()
2007-10-23 18:34:59,375 ERROR Unhandled exception in cache.commit(): '[Errno 
12] Cannot allocate memory'. Retrying (currentRetry: 0)
2007-10-23 18:34:59,375 INFO cache.commit()
2007-10-23 18:35:01,607 ERROR Unhandled exception in cache.commit(): '[Errno 
12] Cannot allocate memory'. Retrying (currentRetry: 1)
2007-10-23 18:35:01,607 INFO cache.commit()
2007-10-23 18:35:02,279 ERROR Unhandled exception in cache.commit(): '[Errno 
12] Cannot allocate memory'. Retrying (currentRetry: 2)

This clearly shows that somewhere, something is raising exceptions of a
type other than "SystemError", which most of the try/catch checks are
looking for. So I have gone ahead and updated the patch to switch some
of the try/catches to look for the more general "Exception" type instead
of the specific "System Error" type. Not all have been changed, only
those that I suspect are behaving badly. This will serve the dual
purpose of helping the script to recover from these exceptions earlier,
and it will properly log these exceptions.

Unfortunately, I am unable to replicate this error on my machines, so I
would greatly appreciate if you would download this new patch and, going
through the same procedure in the above example, test the upgrade
utility again. This particular patch probably won't fix the issue, but
it will help identify what we need to do.

When applying the patch, I recommend using a fresh extraction of
gutsy.tar.gz; when the upgrade tool runs lots of changes are to the
directory that might freak out the patch.

** Attachment added: "dist-upgrade patch rev 2"
   http://launchpadlibrarian.net/10142497/gutsy-dist-upgrade_bigpick_0.2.patch

-- 
Distribution Upgrade fails to complete -- Cannot allocate memory
https://bugs.launchpad.net/bugs/154493
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

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

Reply via email to