[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(...)

Brian Murray brian at ubuntu.com
Thu Oct 18 16:42:28 UTC 2012


I tested update-notifier version 0.119ubunt8.5 and received a crash
report when following the test case.  When I used update-notifier from
precise-proposed, version 0.119ubuntu8.6, I did not receive a crash
report and software center launched.

** Tags added: patch-refused

** Tags removed: patch-refused verification-needed
** Tags added: verification-done

-- 
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:
  Fix Committed

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