Gmail webapp stops working and can't recover

Bug #1407694 reported by Bill Filler
6
This bug affects 1 person
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-session-cookies'
webapp-container: unrecognized option '--accountProvider=google'
webapp-container: unrecognized option '--webappUrlPatterns=https?://mail.google.*/*,https?://accounts.google.*/*,https?://accounts.google.co.*/*,https?://www.google.*/accounts/*,https?://www.google.com/calendar*'
libust[28543/28580]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[28543/28579]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[28543/28579]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[28543/28580]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
Invalid webapps installation
Invalid webapps installation
Ignoring empty or invalid webapp URL pattern: "https?://accounts.google.co.*/*"
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:///usr/share/webbrowser-app/webcontainer/WebApp.qml:179:25 depends on non-NOTIFYable properties:
    unity::action::qml::ActionManager::globalContext
Empty path in webapps model search path update request
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=540, height=919)
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
shm_open() failed: Permission denied
[0105/093337:WARNING:gpu_control_list.cc(760)] Entry with unknown fields 0
[0105/093337:WARNING:gpu_control_list.cc(746)] Malformed exceptions entry 24
[0105/093337:WARNING:proxy_service.cc(909)] PAC support disabled because there is no system implementation
Loaded 5 UA override(s) from file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Web/ua-overrides-mobile.js
virtual void OnlineAccounts::Plugin::registerTypes(const char*) Ubuntu.OnlineAccounts
virtual void OnlineAccountsClient::Plugin::registerTypes(const char*) Ubuntu.OnlineAccounts.Client
account-service-model.cpp 292 update
Accounts: 1
account-service.cpp 100 setObjectHandle Accounts::AccountService(0xb7b5ff80)
account-service.cpp 393 authenticate QMap()
../../../../lib/SignOn/connection-manager.cpp 106 setupSocketConnection p2p error: QDBusError("org.freedesktop.DBus.Error.FileNotFound", "Failed to connect to socket /run/user/32011/signond/socket: No such file or directory") 1
../../../../lib/SignOn/connection-manager.cpp 132 init Peer connection unavailable, activating service
../../../../lib/SignOn/identityimpl.cpp 96 updateState Updating state: "PendingRegistration" SignOn::IdentityImpl(0xb7b6ce40)
../../../../lib/SignOn/authsessionimpl.cpp 94 initInterface
../../../../lib/SignOn/authsessionimpl.cpp 94 initInterface
../../../../lib/SignOn/connection-manager.cpp 106 setupSocketConnection p2p error: QDBusError("org.freedesktop.DBus.Error.FileNotFound", "Failed to connect to socket /run/user/32011/signond/socket: No such file or directory") 1
../../../../lib/SignOn/connection-manager.cpp 150 init Connected to "qt_default_session_bus"
../../../../lib/SignOn/identityimpl.cpp 96 updateState Updating state: "Ready" SignOn::IdentityImpl(0xb7b6ce40)

../../../../lib/SignOn/identityimpl.cpp 576 remoteObjectDestroyed
../../../../lib/SignOn/identityimpl.cpp 96 updateState Updating state: "NeedsRegistration" SignOn::IdentityImpl(0xb7b6ce40)

Bill Filler (bfiller)
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
Revision history for this message
Alberto Mardegan (mardy) wrote :

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).

Changed in accountsservice (Ubuntu):
status: New → Invalid
no longer affects: webapps-core
Changed in ubuntu-system-settings-online-accounts (Ubuntu):
status: New → Confirmed
Revision history for this message
Bill Filler (bfiller) wrote :

This apparently is related to https://bugs.launchpad.net/mir/+bug/1377968

Revision history for this message
Bill Filler (bfiller) wrote :

ps -fe | grep signond shows signond is running
 ps -fe | grep online-accounts-ui is not running

Changed in canonical-devices-system-image:
milestone: ww03-2015 → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.