← Back to team overview

touch-packages team mailing list archive

[Bug 1357438] [NEW] webapps url dispath on launch if that was the last thing they did before being lifecycle killed

 

Public bug reported:

I'm having this issue where the facebook webapp url-dispatches to the
webbrowser; while in the webbrowser the facebook webapp is lifecycle
killed; if I open the facebook webapp again; I get url-dispatched as the
first thing done and a white screen on the facebook webapp.

Could this be related to the "remember" feature?

Here's the facebook log from a fresh start, leaving all the other errors
aside, close to the end, there's a url-dispatch

cat ~/.cache/upstart/application-click-com.ubuntu.developer.webapps.webapp-facebook_webapp-facebook_1.0.19.log 
libust[27054/27056]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[27054/27056]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[27054/27057]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[27054/27057]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
webapp-container: unrecognized option '--popup-redirection-url-prefix=http://lm.facebook.com/l.php?u='
webapp-container: unrecognized option '--webapp=ZmFjZWJvb2s='
webapp-container: unrecognized option '--webappModelSearchPath=.'
<Unknown File>: WARNING: the use of the Ubuntu.Components.Extras.Browser namespace is deprecated, please consider updating your applications to import Ubuntu.Web instead.
libust[27054/27094]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[27054/27093]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[27054/27094]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[27054/27093]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
Using Oxide as the web engine backend
Invalid webapps installation
QQmlExpression: Expression file:///usr/share/webbrowser-app/webcontainer/WebApp.qml:176:25 depends on non-NOTIFYable properties:
    unity::action::qml::ActionManager::globalContext
Using ' "/usr/share/click/preinstalled/com.ubuntu.developer.webapps.webapp-facebook/1.0.19" ' as the default search path for installed webapps
Skipping "webapp-properties.json" as a webapp definition search:  "/usr/share/click/preinstalled/com.ubuntu.developer.webapps.webapp-facebook/1.0.19/unity-webapps-facebook/webapp-properties.json"
Skipping "webapp-properties.json" as a webapp definition search:  "/usr/share/click/preinstalled/com.ubuntu.developer.webapps.webapp-facebook/1.0.19/webapp-properties.json"
Skipping "manifest.json" as a webapp definition search:  "/usr/share/click/preinstalled/com.ubuntu.developer.webapps.webapp-facebook/1.0.19/manifest.json"
shm_open() failed: Permission denied
[0815/125749:ERROR:nss_util.cc(740)] Error initializing NSS with a persistent database (sql:/home/phablet/.pki/nssdb): NSS error code: -8126
[0815/125749:WARNING:proxy_service.cc(901)] PAC support disabled because there is no system implementation
Loaded 3 UA override(s) from file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Web/ua-overrides-mobile.js
Requesting the bindee to navigate to homepage: https://m.facebook.com/
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=540, height=921)
Injecting webapps script[0] : file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/UnityWebApps/unity-webapps-api.js
Injecting webapps script[1] : file:///usr/share/click/preinstalled/com.ubuntu.developer.webapps.webapp-facebook/1.0.19/unity-webapps-facebook/facebook.user.js
Injecting webapps script[0] : file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/UnityWebApps/unity-webapps-api.js
Injecting webapps script[1] : file:///usr/share/click/preinstalled/com.ubuntu.developer.webapps.webapp-facebook/1.0.19/unity-webapps-facebook/facebook.user.js
WebApps API message received: {"args":"[{\"callbackid\":\"ubuntu-webapps-api0.3001289931125939\"}]","name":"ContentHub.onShareRequested","target":"ubuntu-webapps-binding-call"}

webview: WebViewImplOxide_QMLTYPE_96(0xb821ef38)
navigationRequestedDelegate - http://www.ciclosfera.com/aplicacion-carriles-bici-una-ciudad/
Opening: http://www.ciclosfera.com/aplicacion-carriles-bici-una-ciudad/ in the browser window.
UbuntuWindow::handleSurfaceFocusChange(focused=false)
libust[27054/27094]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[27054/27093]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: webbrowser-app 0.23+14.10.20140812-0ubuntu1
Uname: Linux 3.4.67 armv7l
ApportVersion: 2.14.5-0ubuntu4
Architecture: armhf
Date: Fri Aug 15 12:48:32 2014
InstallationDate: Installed on 2014-08-15 (0 days ago)
InstallationMedia: Ubuntu Utopic Unicorn (development branch) - armhf (20140815-020204)
SourcePackage: webbrowser-app
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: webbrowser-app (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug armhf utopic

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to webbrowser-app in Ubuntu.
https://bugs.launchpad.net/bugs/1357438

Title:
  webapps url dispath on launch  if that was the last thing they did
  before being lifecycle killed

Status in “webbrowser-app” package in Ubuntu:
  New

Bug description:
  I'm having this issue where the facebook webapp url-dispatches to the
  webbrowser; while in the webbrowser the facebook webapp is lifecycle
  killed; if I open the facebook webapp again; I get url-dispatched as
  the first thing done and a white screen on the facebook webapp.

  Could this be related to the "remember" feature?

  Here's the facebook log from a fresh start, leaving all the other
  errors aside, close to the end, there's a url-dispatch

  cat ~/.cache/upstart/application-click-com.ubuntu.developer.webapps.webapp-facebook_webapp-facebook_1.0.19.log 
  libust[27054/27056]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
  libust[27054/27056]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
  libust[27054/27057]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
  libust[27054/27057]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
  webapp-container: unrecognized option '--popup-redirection-url-prefix=http://lm.facebook.com/l.php?u='
  webapp-container: unrecognized option '--webapp=ZmFjZWJvb2s='
  webapp-container: unrecognized option '--webappModelSearchPath=.'
  <Unknown File>: WARNING: the use of the Ubuntu.Components.Extras.Browser namespace is deprecated, please consider updating your applications to import Ubuntu.Web instead.
  libust[27054/27094]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
  libust[27054/27093]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
  libust[27054/27094]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
  libust[27054/27093]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
  Using Oxide as the web engine backend
  Invalid webapps installation
  QQmlExpression: Expression file:///usr/share/webbrowser-app/webcontainer/WebApp.qml:176:25 depends on non-NOTIFYable properties:
      unity::action::qml::ActionManager::globalContext
  Using ' "/usr/share/click/preinstalled/com.ubuntu.developer.webapps.webapp-facebook/1.0.19" ' as the default search path for installed webapps
  Skipping "webapp-properties.json" as a webapp definition search:  "/usr/share/click/preinstalled/com.ubuntu.developer.webapps.webapp-facebook/1.0.19/unity-webapps-facebook/webapp-properties.json"
  Skipping "webapp-properties.json" as a webapp definition search:  "/usr/share/click/preinstalled/com.ubuntu.developer.webapps.webapp-facebook/1.0.19/webapp-properties.json"
  Skipping "manifest.json" as a webapp definition search:  "/usr/share/click/preinstalled/com.ubuntu.developer.webapps.webapp-facebook/1.0.19/manifest.json"
  shm_open() failed: Permission denied
  [0815/125749:ERROR:nss_util.cc(740)] Error initializing NSS with a persistent database (sql:/home/phablet/.pki/nssdb): NSS error code: -8126
  [0815/125749:WARNING:proxy_service.cc(901)] PAC support disabled because there is no system implementation
  Loaded 3 UA override(s) from file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Web/ua-overrides-mobile.js
  Requesting the bindee to navigate to homepage: https://m.facebook.com/
  UbuntuWindow - regular geometry
  UbuntuWindow::handleSurfaceFocusChange(focused=true)
  UbuntuWindow::handleSurfaceResize(width=540, height=921)
  Injecting webapps script[0] : file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/UnityWebApps/unity-webapps-api.js
  Injecting webapps script[1] : file:///usr/share/click/preinstalled/com.ubuntu.developer.webapps.webapp-facebook/1.0.19/unity-webapps-facebook/facebook.user.js
  Injecting webapps script[0] : file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/UnityWebApps/unity-webapps-api.js
  Injecting webapps script[1] : file:///usr/share/click/preinstalled/com.ubuntu.developer.webapps.webapp-facebook/1.0.19/unity-webapps-facebook/facebook.user.js
  WebApps API message received: {"args":"[{\"callbackid\":\"ubuntu-webapps-api0.3001289931125939\"}]","name":"ContentHub.onShareRequested","target":"ubuntu-webapps-binding-call"}

  webview: WebViewImplOxide_QMLTYPE_96(0xb821ef38)
  navigationRequestedDelegate - http://www.ciclosfera.com/aplicacion-carriles-bici-una-ciudad/
  Opening: http://www.ciclosfera.com/aplicacion-carriles-bici-una-ciudad/ in the browser window.
  UbuntuWindow::handleSurfaceFocusChange(focused=false)
  libust[27054/27094]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
  libust[27054/27093]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)

  ProblemType: Bug
  DistroRelease: Ubuntu 14.10
  Package: webbrowser-app 0.23+14.10.20140812-0ubuntu1
  Uname: Linux 3.4.67 armv7l
  ApportVersion: 2.14.5-0ubuntu4
  Architecture: armhf
  Date: Fri Aug 15 12:48:32 2014
  InstallationDate: Installed on 2014-08-15 (0 days ago)
  InstallationMedia: Ubuntu Utopic Unicorn (development branch) - armhf (20140815-020204)
  SourcePackage: webbrowser-app
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/webbrowser-app/+bug/1357438/+subscriptions


Follow ups

References