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 network- service spends several seconds up to several minutes taking 70% CPU, with a tight loop spinning on trying to talk to 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-