2013-11-07 09:35:18 |
Martin Pitt |
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. |
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 |
|