[Bug 1428297] Re: update-manager crashed with OSError in _get_application_for_package(): [Errno 5] Eingabe-/Ausgabefehler

Brian Murray brian at ubuntu.com
Wed Aug 16 16:56:50 UTC 2017


Hello Toby, or anyone else affected,

Accepted update-manager into zesty-proposed. The package will build now
and be available at https://launchpad.net/ubuntu/+source/update-
manager/1:17.04.6 in a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-zesty to verification-done-zesty. If it does not fix
the bug for you, please add a comment stating that, and change the tag
to verification-failed-zesty. In either case, details of your testing
will help us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: update-manager (Ubuntu Zesty)
       Status: Triaged => Fix Committed

** Tags added: verification-needed verification-needed-zesty

** Changed in: update-manager (Ubuntu Xenial)
       Status: Triaged => Fix Committed

** Tags added: verification-needed-xenial

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1428297

Title:
  update-manager crashed with OSError in _get_application_for_package():
  [Errno 5] Eingabe-/Ausgabefehler

Status in update-manager package in Ubuntu:
  Fix Released
Status in update-manager source package in Xenial:
  Fix Committed
Status in update-manager source package in Zesty:
  Fix Committed
Status in update-manager source package in Artful:
  Fix Released

Bug description:
  [Impact]
  Users are experiencing a crash when there is a failure to load the desktop file for a package while updating packages with update-manager.  This crash is handled with an exception but the action for the exception is to print a message (which causes an OSError Traceback) but it really should be logged. The crash is causing a lot of noise as people are receiving crash dialogs about it regularly.

  [Test Case]
  Its not clear to me which packages to update to recreate the crash however the bucket in the Error Tracker, https://errors.ubuntu.com/bucket/?id=/usr/bin/update-manager%3AOSError%3A_get_application_for_package%3A/usr/bin/update-manager%40121%3Astart_update%3Astart_available%3Arefresh_cache%3Aupdate%3A_make_groups%3A_get_application_for_package, has a sufficient number of crashes that occur quite frequently that we should be able to prove that the new version is not affected.

  [Regression Potential]
  The print() is just changing to a logging.warning() a regression would be possible if I were to have mistyped the patch.

  ---

  ProblemType: CrashDistroRelease: Ubuntu 15.04
  Package: update-manager 1:15.04.2
  ProcVersionSignature: Ubuntu 3.19.0-7.7-generic 3.19.0
  Uname: Linux 3.19.0-7-generic i686
  NonfreeKernelModules: nvidia
  ApportVersion: 2.16.2-0ubuntu1
  Aptdaemon:

  Architecture: i386
  CrashCounter: 1
  Date: Wed Mar  4 21:02:29 2015
  EcryptfsInUse: Yes
  ExecutablePath: /usr/bin/update-manager
  GsettingsChanges:
   b'com.ubuntu.update-manager' b'window-height' b'371'
   b'com.ubuntu.update-manager' b'first-run' b'false'
   b'com.ubuntu.update-manager' b'window-width' b'439'
   b'com.ubuntu.update-manager' b'launch-time' b'1425499338'
  InstallationDate: Installed on 2013-02-10 (752 days ago)
  InstallationMedia: Xubuntu 12.10 "Quantal Quetzal" - Release i386 (20121017.1)
  InterpreterPath: /usr/bin/python3.4
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python3 /usr/bin/update-manager --no-update --no-focus-on-map
  PythonArgs: ['/usr/bin/update-manager', '--no-update', '--no-focus-on-map']SourcePackage: update-manager
  Title: update-manager crashed with OSError in _get_application_for_package(): [Errno 5] Eingabe-/Ausgabefehler
  UpgradeStatus: Upgraded to vivid on 2015-02-27 (5 days ago)
  UserGroups: adm cdrom dip fuse lpadmin plugdev sambashare sudo

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1428297/+subscriptions



More information about the foundations-bugs mailing list