[Bug 946718] Re: backend_helper.py crashed with RuntimeError in add_signal_receiver(): To make asynchronous calls, receive signals or export objects, D-Bus connections must be attached to a main loop by passing mainloop=... to the constructor or calling dbus.set_default_main_loop(...)
Michael Terry
michael.terry at canonical.com
Fri Sep 7 13:41:26 UTC 2012
I've uploaded a fix to precise-proposed and adjusted the description for
SRU requirements.
** Description changed:
- Crashing when attempting to update applications.
+ [Impact]
+ This is one of the top-reported bugs on error.ubuntu.com. It seems to occur when you've inserted an Ubuntu CD and started the package manager.
- ProblemType: Crash
- DistroRelease: Ubuntu 12.04
- Package: update-notifier-common 0.118.1ubuntu1
- ProcVersionSignature: Ubuntu 3.2.0-17.27-generic 3.2.6
- Uname: Linux 3.2.0-17-generic x86_64
- ApportVersion: 1.94-0ubuntu1
- Architecture: amd64
- CasperVersion: 1.305
- Date: Sun Mar 4 23:23:52 2012
- ExecutablePath: /usr/lib/update-notifier/backend_helper.py
- InterpreterPath: /usr/bin/python2.7
- LiveMediaBuild: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120304)
- PackageArchitecture: all
- ProcCmdline: /usr/bin/python /usr/lib/update-notifier/backend_helper.py add_cdrom /media/Ubuntu\ 11.10\ i386
- ProcEnviron:
- PATH=(custom, no user)
- LANG=en_US.UTF-8
- SHELL=/bin/bash
- PythonArgs: ['/usr/lib/update-notifier/backend_helper.py', 'add_cdrom', '/media/Ubuntu 11.10 i386']
- SourcePackage: update-notifier
- Title: backend_helper.py crashed with RuntimeError in add_signal_receiver(): To make asynchronous calls, receive signals or export objects, D-Bus connections must be attached to a main loop by passing mainloop=... to the constructor or calling dbus.set_default_main_loop(...)
- UpgradeStatus: No upgrade log present (probably fresh install)
- UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
+ [Test Case]
+ sudo apt-get remove synaptic
+ /usr/lib/update-notifier/backend_helper.py add_cdrom test
+
+ [Regression Potential]
+ I think very low. The only affected code path is right before this crashes unconditionally anyway. So even if this screws something up, it can't make it worse. We import a module from python-dbus, but we already were using python-dbus, so dependencies and module use aren't changing.
** Changed in: update-notifier (Ubuntu Precise)
Status: Triaged => In Progress
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-notifier in Ubuntu.
https://bugs.launchpad.net/bugs/946718
Title:
backend_helper.py crashed with RuntimeError in add_signal_receiver():
To make asynchronous calls, receive signals or export objects, D-Bus
connections must be attached to a main loop by passing mainloop=... to
the constructor or calling dbus.set_default_main_loop(...)
Status in “update-notifier” package in Ubuntu:
Fix Released
Status in “update-notifier” source package in Precise:
In Progress
Bug description:
[Impact]
This is one of the top-reported bugs on error.ubuntu.com. It seems to occur when you've inserted an Ubuntu CD and started the package manager.
[Test Case]
sudo apt-get remove synaptic
/usr/lib/update-notifier/backend_helper.py add_cdrom test
[Regression Potential]
I think very low. The only affected code path is right before this crashes unconditionally anyway. So even if this screws something up, it can't make it worse. We import a module from python-dbus, but we already were using python-dbus, so dependencies and module use aren't changing.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/946718/+subscriptions
More information about the foundations-bugs
mailing list