webbrowser crashes when facebook webapp tries to access location

Bug #1233678 reported by Omer Akram
6
This bug affects 1 person
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.10.20130930.1-0ubuntu1
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

Revision history for this message
Omer Akram (om26er) wrote :
Changed in webbrowser-app:
importance: Undecided → Medium
assignee: nobody → Olivier Tilloy (osomon)
Revision history for this message
Olivier Tilloy (osomon) wrote :

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'
  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="webbrowser-app --desktop_file_hint=/home/phablet/.") interface="com.ubuntu.location.Service" member="CreateSessionForCriteria" error name="(unset)" requested_reply="0" destination="com.ubuntu.location.Service" (uid=0 pid=605 comm="/usr/lib/arm-linux-gnueabihf/ubuntu-location-servi")

summary: - webbrowser crashes when facebook webapps tries to access gps
+ webbrowser crashes when facebook webapps tries to access location
summary: - webbrowser crashes when facebook webapps tries to access location
+ webbrowser crashes when facebook webapp tries to access location
Changed in webbrowser-app:
status: New → Confirmed
Changed in webbrowser-app (Ubuntu):
status: New → Confirmed
David Barth (dbarth)
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
Olivier Tilloy (osomon)
Changed in webbrowser-app:
assignee: Olivier Tilloy (osomon) → nobody
David Barth (dbarth)
Changed in webapps-demo:
status: Confirmed → Fix Committed
Changed in webbrowser-app (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:webapps-demo at revision 28, scheduled for release in webapps-demo, milestone Unknown

Omer Akram (om26er)
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
Omer Akram (om26er)
tags: added: rls-s-incoming
Revision history for this message
David Barth (dbarth) wrote :

com.ubuntu.developer.webapps.webapp-facebook version 1.0.5 is now integrated in the image, which fixes the group policy issue that was causing this crash.

Changed in webapps-demo:
status: Fix Committed → Fix Released
Changed in webapps-demo (Ubuntu):
status: Triaged → Fix Released
assignee: nobody → David Barth (dbarth)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:webapps-demo at revision 29, scheduled for release in webapps-demo, milestone Unknown

Changed in webapps-demo:
status: Fix Released → Fix Committed
David Barth (dbarth)
Changed in webapps-demo:
status: Fix Committed → Fix Released
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.