← Back to team overview

desktop-packages team mailing list archive

[Bug 1407694] Re: Gmail webapp stops working and can't recover

 

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

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to accountsservice in Ubuntu.
https://bugs.launchpad.net/bugs/1407694

Title:
  Gmail webapp stops working and can't recover

Status in the base for Ubuntu mobile products:
  New
Status in accountsservice package in Ubuntu:
  Invalid
Status in ubuntu-system-settings-online-accounts package in Ubuntu:
  Confirmed

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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1407694/+subscriptions


References