webbrowser crashes when facebook webapp tries to access location
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
webapps-demo |
Fix Released
|
High
|
David Barth | ||
webapps-demo (Ubuntu) |
Fix Released
|
High
|
David Barth |
Bug Description
1. Open the facebook web apps
2. login to facebook.com and tap 'check out'
3. grant it permissions to access your location.
What happens:
The webapp crashes.
What should happen:
It should not.
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: webbrowser-app 0.22+13.
Uname: Linux 3.4.0-3-mako armv7l
ApportVersion: 2.12.5-0ubuntu1
Architecture: armhf
Date: Tue Oct 1 13:26:48 2013
InstallationDate: Installed on 2013-10-01 (0 days ago)
InstallationMedia: Ubuntu Saucy Salamander (development branch) - armhf (20131001.2)
MarkForUpload: True
ProcEnviron:
TERM=linux
PATH=(custom, no user)
SourcePackage: webbrowser-app
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
- Alexandre Abreu (community): Approve
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 77 lines (+20/-4)6 files modifiedwebapp-gmail/manifest.json (+1/-1)
webapp-gmail/unity-webapps-gmail/GMail.user.js (+1/-0)
webapp-gmail/unity-webapps-gmail/manifest.json (+15/-0)
webapp-gmail/webapp-gmail.desktop (+1/-1)
webapp-twitter/manifest.json (+1/-1)
webapp-twitter/webapp-twitter.desktop (+1/-1)
Changed in webbrowser-app (Ubuntu): | |
assignee: | nobody → David Barth (dbarth) |
Changed in webapps-demo: | |
status: | New → Confirmed |
assignee: | nobody → David Barth (dbarth) |
Changed in webbrowser-app: | |
status: | Confirmed → Invalid |
Changed in webapps-demo: | |
importance: | Undecided → High |
Changed in webbrowser-app: | |
assignee: | Olivier Tilloy (osomon) → nobody |
Changed in webapps-demo: | |
status: | Confirmed → Fix Committed |
Changed in webbrowser-app (Ubuntu): | |
status: | Confirmed → Fix Committed |
no longer affects: | webbrowser-app |
no longer affects: | webbrowser-app (Ubuntu) |
Changed in webapps-demo (Ubuntu): | |
importance: | Undecided → High |
status: | New → Fix Committed |
status: | Fix Committed → Triaged |
tags: | added: rls-s-incoming |
Changed in webapps-demo: | |
status: | Fix Committed → Fix Released |
I can reliably reproduce the crash. What’s happening is that apparmor denies access to the location service to the facebook webapp, and terminates the application when it tries to access it:
terminate called after throwing an instance of 'std::runtime_ error' r-app --desktop_ file_hint= /home/phablet/ .") interface= "com.ubuntu. location. Service" member= "CreateSessionF orCriteria" error name="(unset)" requested_reply="0" destination= "com.ubuntu. location. Service" (uid=0 pid=605 comm="/ usr/lib/ arm-linux- gnueabihf/ ubuntu- location- servi")
what(): An AppArmor policy prevents this sender from sending this message to this recipient, 0 matched rules; type="method_call", sender=":1.70" (uid=32011 pid=2308 comm="webbrowse