← Back to team overview

unity-api-bugs team mailing list archive

[Bug 1248880] Re: spends lots of time spinning on D-BUS when ofono restarts

 

Fix committed into lp:indicator-network at revision 314, scheduled for
release in indicator-network, milestone Unknown

** Changed in: indicator-network
       Status: New => Fix Committed

-- 
You received this bug notification because you are a member of Unity API
bugs, which is subscribed to Network Menu.
https://bugs.launchpad.net/bugs/1248880

Title:
  spends lots of time spinning on D-BUS when ofono restarts

Status in Network Menu:
  Fix Committed
Status in “indicator-network” package in Ubuntu:
  New

Bug description:
  This got exposed when we started to use ofono-phonesim-autostart for
  the dialer/messaging-app tests.

  Reproducer: sudo restart ofono
  Expected result: indicator-network notices that ofono goes off the system D-BUS, listens for an event when it comes back, and reconnects. this should take no noticeable amount of CPU
  Actual result: indicator-network-service spends several seconds up to several minutes taking 70% CPU, with a tight loop spinning on trying to talk to ofono.

  It might be that this only happens if you actually have a SIM card or
  other ofono device. If you don't, then you can reproduce with

    sudo apt-get install ofono-phonesim xvfb
    sudo with-ofono-phonesim  # leave this running in a terminal

To manage notifications about this bug go to:
https://bugs.launchpad.net/indicator-network/+bug/1248880/+subscriptions