touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #98717
[Bug 1480877] Re: Access points' "PropertiesChanged" dbus signals freeze UI on mobile devices
You folks mention the session bus. But when I've seen this bug (like my
notes from bug 1480844), it's been the system dbus-daemon that takes
100% CPU.
I attached gdb to it once when this was happening. We seemed to be
spending a chunk of time in get_recipients_from_list(), which iterates
over every system DBus connection and sees if it is listening for a
given signal, in order to pass it on if so. I don't *know* that the
actual majority of time was in that function yet, I'm still digging
there.
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to indicator-network in
Ubuntu.
https://bugs.launchpad.net/bugs/1480877
Title:
Access points' "PropertiesChanged" dbus signals freeze UI on mobile
devices
Status in Canonical System Image:
Confirmed
Status in indicator-network package in Ubuntu:
Incomplete
Status in network-manager package in Ubuntu:
Incomplete
Bug description:
Krillin, rc-proposed, r83
DESCRIPTION:
I've been trying to track down the cause of the occasional UI freezes on my Krillin device, and I noticed that whenever the UI freezes for 2-4 seconds, I get a burst of "PropertiesChanged" signals in dbus-monitor
Here's a log of what's shown in dbus-monitor:
http://pastebin.ubuntu.com/11992322/
I'd guess the problem is in the code that actually catches the signals
and acts accordingly.
HOW TO REPRODUCE:
1) Move to a place where many wifi hotspots are available
2) Connect the device via USB and run "phablet-shell" and then "dbus-monitor"
3) Use the device while keeping an eye on dbus-monitor output
To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1480877/+subscriptions
References