[Bug 1632620] Re: No audio from webbrowser-app in 16.10 U8 or U7 session

2016-10-14 Thread Launchpad Bug Tracker
** Branch linked: lp:~osomon/webbrowser-app/16.10-SRU1

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1632620

Title:
  No audio from webbrowser-app in 16.10 U8 or U7 session

To manage notifications about this bug go to:
https://bugs.launchpad.net/oxide/+bug/1632620/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1632620] Re: No audio from webbrowser-app in 16.10 U8 or U7 session

2016-10-14 Thread Olivier Tilloy
 jdstrand, is this something I can/should work around in the generated 
apparmor profile for webbrowser-app, or better to fix in 
apparmor-easyprof-ubuntu (I imagine other apps using the audio/microphone 
policy groups might be affected too)?
 oSoMoN: for now workaround it. this is fixed in snappy and there 
shouldn't be any clicks on yakkety

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1632620

Title:
  No audio from webbrowser-app in 16.10 U8 or U7 session

To manage notifications about this bug go to:
https://bugs.launchpad.net/oxide/+bug/1632620/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1632620] Re: No audio from webbrowser-app in 16.10 U8 or U7 session

2016-10-13 Thread Launchpad Bug Tracker
** Branch linked: lp:~osomon/webbrowser-app/fix-1632620-sound-yakkety

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1632620

Title:
  No audio from webbrowser-app in 16.10 U8 or U7 session

To manage notifications about this bug go to:
https://bugs.launchpad.net/oxide/+bug/1632620/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1632620] Re: No audio from webbrowser-app in 16.10 U8 or U7 session

2016-10-13 Thread Olivier Tilloy
** Changed in: webbrowser-app (Ubuntu)
   Status: Confirmed => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1632620

Title:
  No audio from webbrowser-app in 16.10 U8 or U7 session

To manage notifications about this bug go to:
https://bugs.launchpad.net/oxide/+bug/1632620/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1632620] Re: No audio from webbrowser-app in 16.10 U8 or U7 session

2016-10-13 Thread Olivier Tilloy
** Also affects: apparmor-easyprof-ubuntu (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1632620

Title:
  No audio from webbrowser-app in 16.10 U8 or U7 session

To manage notifications about this bug go to:
https://bugs.launchpad.net/oxide/+bug/1632620/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1632620] Re: No audio from webbrowser-app in 16.10 U8 or U7 session

2016-10-13 Thread Olivier Tilloy
The above rule comes from the audio and microphone policy groups:

  
https://bazaar.launchpad.net/~ubuntu-security/apparmor-easyprof-ubuntu/trunk/view/head:/data/policygroups/ubuntu/1.0/audio#L10
  
https://bazaar.launchpad.net/~ubuntu-security/apparmor-easyprof-ubuntu/trunk/view/head:/data/policygroups/ubuntu/1.0/microphone#L8

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1632620

Title:
  No audio from webbrowser-app in 16.10 U8 or U7 session

To manage notifications about this bug go to:
https://bugs.launchpad.net/oxide/+bug/1632620/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1632620] Re: No audio from webbrowser-app in 16.10 U8 or U7 session

2016-10-13 Thread Olivier Tilloy
The following rule in the browser’s apparmor profile is what causes the
audio manager to fail to initialize:

deny /{run,dev}/shm/pulse-shm* w,  # deny unless we have to have
it

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1632620

Title:
  No audio from webbrowser-app in 16.10 U8 or U7 session

To manage notifications about this bug go to:
https://bugs.launchpad.net/oxide/+bug/1632620/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1632620] Re: No audio from webbrowser-app in 16.10 U8 or U7 session

2016-10-13 Thread Olivier Tilloy
 oSoMoN, ah, so AudioManagerPulse fails to initialize, and then 
it tries to create AudioManagerAlsa before the unique_ptr instance holding 
AudioManagerPulse goes out of scope
 that makes sense
 that means chromium's fallback is buggy though, as 
AudioManager::Get() will always return nullptr if the pulseaudio path fails
 But, the root cause is confinement related

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1632620

Title:
  No audio from webbrowser-app in 16.10 U8 or U7 session

To manage notifications about this bug go to:
https://bugs.launchpad.net/oxide/+bug/1632620/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1632620] Re: No audio from webbrowser-app in 16.10 U8 or U7 session

2016-10-13 Thread Olivier Tilloy
I’m seeing the following message in the console when starting
webbrowser-app:

[1013/154851:WARNING:audio_manager.cc(314)] Multiple instances of AudioManager 
detected
[1013/154851:WARNING:audio_manager.cc(275)] Multiple instances of AudioManager 
detected

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1632620

Title:
  No audio from webbrowser-app in 16.10 U8 or U7 session

To manage notifications about this bug go to:
https://bugs.launchpad.net/oxide/+bug/1632620/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1632620] Re: No audio from webbrowser-app in 16.10 U8 or U7 session

2016-10-13 Thread Olivier Tilloy
I can reliably reproduce the issue in a yakkety VM.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1632620

Title:
  No audio from webbrowser-app in 16.10 U8 or U7 session

To manage notifications about this bug go to:
https://bugs.launchpad.net/oxide/+bug/1632620/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1632620] Re: No audio from webbrowser-app in 16.10 U8 or U7 session

2016-10-13 Thread Olivier Tilloy
 oSoMoN, works, and I have sound too
 willcooke, good, so it’s just the browser

** Changed in: oxide
   Status: New => Invalid

** Changed in: webbrowser-app (Ubuntu)
   Status: Incomplete => Confirmed

** Changed in: webbrowser-app (Ubuntu)
 Assignee: (unassigned) => Olivier Tilloy (osomon)

** Changed in: webbrowser-app (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1632620

Title:
  No audio from webbrowser-app in 16.10 U8 or U7 session

To manage notifications about this bug go to:
https://bugs.launchpad.net/oxide/+bug/1632620/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1632620] Re: No audio from webbrowser-app in 16.10 U8 or U7 session

2016-10-13 Thread Will Cooke
Oct 13 12:26:49 test-Inspiron-3137 kernel: [  506.368904] audit_printk_skb: 63 
callbacks suppressed
Oct 13 12:26:49 test-Inspiron-3137 kernel: [  506.368906] audit: type=1400 
audit(1476358009.176:78): apparmor="DENIED" operation="open" 
profile="webbrowser-app" name="/dev/shm/lttng-ust-wait-6-1000" pid=4144 
comm="webbrowser-app" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
Oct 13 12:26:49 test-Inspiron-3137 kernel: [  506.368930] audit: type=1400 
audit(1476358009.176:79): apparmor="DENIED" operation="open" 
profile="webbrowser-app" name="/dev/shm/lttng-ust-wait-6-1000" pid=4144 
comm="webbrowser-app" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
Oct 13 12:26:49 test-Inspiron-3137 kernel: [  506.368945] audit: type=1400 
audit(1476358009.176:80): apparmor="DENIED" operation="open" 
profile="webbrowser-app" name="/dev/shm/lttng-ust-wait-6" pid=4143 
comm="webbrowser-app" requested_mask="r" denied_mask="r" fsuid=1000 ouid=114
Oct 13 12:26:49 test-Inspiron-3137 kernel: [  506.368966] audit: type=1400 
audit(1476358009.176:81): apparmor="DENIED" operation="open" 
profile="webbrowser-app" name="/dev/shm/lttng-ust-wait-6" pid=4143 
comm="webbrowser-app" requested_mask="r" denied_mask="r" fsuid=1000 ouid=114
Oct 13 12:26:50 test-Inspiron-3137 dbus[2550]: apparmor="DENIED" 
operation="dbus_method_call"  bus="session" path="/org/freedesktop/ScreenSaver" 
interface="org.freedesktop.ScreenSaver" member="Inhibit" mask="send" 
name="org.freedesktop.ScreenSaver" pid=4131 label="webbrowser-app" 
peer_pid=3059 peer_label="unconfined"
Oct 13 12:26:50 test-Inspiron-3137 dbus[2550]: apparmor="DENIED" 
operation="dbus_method_call"  bus="session" path="/org/freedesktop/ScreenSaver" 
interface="org.freedesktop.ScreenSaver" member="Inhibit" mask="send" 
name="org.freedesktop.ScreenSaver" pid=4131 label="webbrowser-app" 
peer_pid=3059 peer_label="unconfined"

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1632620

Title:
  No audio from webbrowser-app in 16.10 U8 or U7 session

To manage notifications about this bug go to:
https://bugs.launchpad.net/oxide/+bug/1632620/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1632620] Re: No audio from webbrowser-app in 16.10 U8 or U7 session

2016-10-13 Thread Olivier Tilloy
@Will: could you please check if it’s just the browser, or anything
using an Oxide webview, that experiences the lack of sound?

You can do so by saving the following content as test.qml and opening it
in qmlscene:

import QtQuick 2.4
import com.canonical.Oxide 1.15
WebView {
  width: 800
  height: 600
  url: "https://www.youtube.com/watch?v=HED4h00xPPA;
}

** Changed in: webbrowser-app (Ubuntu)
   Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1632620

Title:
  No audio from webbrowser-app in 16.10 U8 or U7 session

To manage notifications about this bug go to:
https://bugs.launchpad.net/oxide/+bug/1632620/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1632620] Re: No audio from webbrowser-app in 16.10 U8 or U7 session

2016-10-13 Thread Olivier Tilloy
(Probably) relevant logs (from the log file attached):

ALSA lib conf.c:3823:(snd_config_update_r) cannot access file 
/usr/share/alsa/alsa.conf
ALSA lib pcm.c:2450:(snd_pcm_open_noupdate) Unknown PCM default
[1012/100326:WARNING:alsa_util.cc(24)] PcmOpen: default,No such file or 
directory
ALSA lib pcm.c:2450:(snd_pcm_open_noupdate) Unknown PCM plug:default
[1012/100326:WARNING:alsa_util.cc(24)] PcmOpen: plug:default,No such file or 
directory

** Also affects: oxide
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1632620

Title:
  No audio from webbrowser-app in 16.10 U8 or U7 session

To manage notifications about this bug go to:
https://bugs.launchpad.net/oxide/+bug/1632620/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs