account-polld tries hard to open a trust session and fails repeatedly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
High
|
Bill Filler | ||
account-polld (Ubuntu) |
Fix Released
|
High
|
Niklas Wenzel |
Bug Description
Affects <= OTA7
Reproduce:
1. Add a google account and allow gmail
2. Make sure it works, (account n has 0 new updates etc…)
3. Change the account's password
Expected:
By looking at the logs, I'd expect the output to say something along the lines of "authentication failed, stopping poll"
Actual:
You'll see an endless repetition of:
2015/10/13 13:39:13 Polling account 7
2015/10/13 13:39:14 Error while polling 7: Token expired
2015/10/13 13:39:14 Poll for account 7 has failed: Token expired
2015/10/13 13:39:14 Ending poll for account 7
2015/10/13 13:39:14 New account data for existing account with id 7
2015/10/13 13:39:14 Starting poll for account 7
2015/10/13 13:39:14 Polling account 7
Memory on device is at a minimum too. As can be seen here http://
Logs: I have included the entire .cache/upstart folder and syslog.
Related branches
- Jonas G. Drange (community): Approve
- PS Jenkins bot: Pending (continuous-integration) requested
- Alberto Mardegan: Pending requested
-
Diff: 147 lines (+48/-35)2 files modifiedcmd/account-polld/account_manager.go (+47/-24)
cmd/account-polld/main.go (+1/-11)
- Jonas G. Drange (community): Approve
- Alberto Mardegan (community): Approve
- PS Jenkins bot: Pending (continuous-integration) requested
-
Diff: 22 lines (+9/-1)1 file modifiedaccounts/account-watcher.c (+9/-1)
- Niklas Wenzel (community): Needs Fixing
- PS Jenkins bot: Approve (continuous-integration)
- John Lenton (community): Approve
-
Diff: 40 lines (+11/-0)1 file modifiedcmd/account-polld/account_manager.go (+11/-0)
summary: |
- Dbus-daemon-system-fork on ota6 is using large amounts of CPU + account-polld tries hard open a trust session and fails repeatedly |
Changed in canonical-devices-system-image: | |
importance: | Undecided → High |
Changed in account-polld (Ubuntu): | |
importance: | Undecided → High |
status: | New → Triaged |
summary: |
- account-polld tries hard open a trust session and fails repeatedly + account-polld tries hard to open a trust session and fails repeatedly |
Changed in canonical-devices-system-image: | |
status: | New → Confirmed |
assignee: | nobody → Bill Filler (bfiller) |
Changed in canonical-devices-system-image: | |
milestone: | none → ww46-2015 |
tags: | added: push |
Changed in account-polld (Ubuntu): | |
assignee: | nobody → Niklas Wenzel (nikwen) |
status: | Triaged → In Progress |
description: | updated |
Changed in account-polld (Ubuntu): | |
status: | In Progress → Fix Released |
Changed in canonical-devices-system-image: | |
status: | Confirmed → Fix Committed |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
This message is printed in a loop in dbus.log
Activating service name='com. google. code.AccountsSS O.SingleSignOn' code.AccountsSS O.SingleSignOn' nokia.singlesig nonui' singlesignonui' mir-xon0uu/ mir-0.14. 1+15.04. 20150821/ src/server/ scene/prompt_ session_ manager_ impl.cpp( 137): Throw in function virtual std::shared_ ptr<mir: :scene: :PromptSession> mir::scene: :PromptSessionM anagerImpl: :start_ prompt_ session_ for(const std::shared_ ptr<mir: :scene: :Session> &, const mir::scene: :PromptSessionC reationParamete rs&) const ion_detail10clo ne_implINS0_ 19error_ info_injectorIS t13runtime_ errorEEEE :what: Could not identify application session
Successfully activated service 'com.google.
Activating service name='com.
Successfully activated service 'com.nokia.
Invalid prompt session: /build/
Dynamic exception type: N5boost16except
std::exception:
Couldn't setup prompt session
UiProxy initialization failed!