** Description changed:

+ [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: Crash
- DistroRelease: Ubuntu 15.04
+ 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'
+  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
+ 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

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

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

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

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

Reply via email to