Gmail webapp stops working and can't recover
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
New
|
Critical
|
Unassigned | ||
accountsservice (Ubuntu) |
Invalid
|
Critical
|
Unassigned | ||
ubuntu-system-settings-online-accounts (Ubuntu) |
Confirmed
|
Critical
|
Unassigned |
Bug Description
ubuntu-rtm image 184 on Krillin
Was using the phone a lot during the break and experienced Gmail getting into a state where it would launch and have a white screen. You could not recover even after killing and restarting the app. This happened mulitple times. I believe the online account service possibly is getting killed by the OOM killer and trying to launch Gmail after this occurs does not work.
If this is the case, we should a) try to not let account service be killed by oom killer and b) recover gracefully if the service is not running and still allow the app to be launced.
Steps to reproduce:
1) setup online account for Google and Gmail
2) unplug the phone from USB
3) launch gmail webapp and a lot of other apps
4) kill gmail but leave other apps running
5) use the phone for a while and let it suspend for a while (5-10 minutes)
6) try and launch gmail and you get a blank white screen, see the log below.
7) kill and restart gmail with the same error
The only way I could make it work again was to delete the online account or reboot
webapp-container: unrecognized option '--store-
webapp-container: unrecognized option '--accountProvi
webapp-container: unrecognized option '--webappUrlPat
libust[
libust[
libust[
libust[
Invalid webapps installation
Invalid webapps installation
Ignoring empty or invalid webapp URL pattern: "https?
Using Oxide as the web engine backend
Setting session cookie mode to "persistent"
Empty path in webapps model search path update request
QQmlExpression: Expression file://
unity:
Empty path in webapps model search path update request
UbuntuWindow - regular geometry
UbuntuWindow:
UbuntuWindow:
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
shm_open() failed: Permission denied
[0105/093337:
[0105/093337:
[0105/093337:
Loaded 5 UA override(s) from file://
virtual void OnlineAccounts:
virtual void OnlineAccountsC
account-
Accounts: 1
account-service.cpp 100 setObjectHandle Accounts:
account-service.cpp 393 authenticate QMap()
../../.
../../.
../../.
../../.
../../.
../../.
../../.
../../.
../../.
../../.
Changed in canonical-devices-system-image: | |
importance: | Undecided → Critical |
milestone: | none → ww03-2015 |
Changed in webapps-core: | |
importance: | Undecided → Critical |
Changed in accountsservice (Ubuntu): | |
importance: | Undecided → Critical |
Changed in ubuntu-system-settings-online-accounts (Ubuntu): | |
importance: | Undecided → Critical |
Changed in canonical-devices-system-image: | |
milestone: | ww03-2015 → none |
I've seen this happening before. It's not due to the OOM (and in fact, all the Online Accounts daemons automatically quit after a few seconds of inactivity), but rather to the service being stuck due to bug 1377968 (see comment #2 there).