Hi Felipe, Thanks for quickly drawing my attention to a possible incompatibility with firejail.
That was it. I'm happy to report that editing /etc/pulse/default.pa from load-module module-native-protocol-unix to load-module module-native-protocol-unix srbchannel=no seems to have fixed it. A few humble comments are inserted below... On 11/05/15 09:39, Felipe Sateler wrote: > Control: tags -1 moreinfo > > On 5 November 2015 at 02:17, Kingsley G. Morse Jr. <kings...@loaner.com> > wrote: > > Package: pulseaudio > > Version: 7.0-1+b1 > > Severity: important > > > > I seem to have found a bug. > > > > Here's how: > > > > 1.) Use Debian's unstable repository > > > > 2.) $ apt-get dist-upgrade # On November 4, > > 2015 > > > > 3.) Edit /etc/pulse/client.conf to not autospawn pulseaudio > > > > #; autospawn = yes > > ; autospawn = no > > > > 4.) Reboot. > > > > 5.) Run pulseaudio with verbose diagnostics as > > a normal user on an xterm's command line > > with > > > > $ pulseaudio -vvvvvvvvvv --log-time > > > > 6.) Launch iceweasel. > > > > 7.) Play sound with > > > > $ echo "hello world" | festival --language americanenglish -b > > --tts > > > > 8.) Here's where the bug happens. > > > > Use your mouse to access iceweasel's add-on manager > > > > iceweasel->Tools->Add-ons > > Is this running as the same user as the festival command? Yes. > Do you have firejail running? Yes, for once, you're right again. ;-) > > > > Pulseaudio says > > > > ( 123.846| 5.004) I: [pulseaudio] module-suspend-on-idle.c: > > Sink alsa_output.pci-0000_03_05.0.analog-stereo idle for too long, > > suspending ... > > ( 123.846| 0.000) D: [pulseaudio] sink.c: Suspend cause of > > sink alsa_output.pci-0000_03_05.0.analog-stereo is 0x0004, suspending > > ( 123.846| 0.000) I: [alsa-sink-ES1371/1] alsa-sink.c: Device > > suspended... > > ( 123.846| 0.000) D: [pulseaudio] core.c: Hmm, no streams > > around, trying to vacuum. > > ( 123.847| 0.000) D: [pulseaudio] module-udev-detect.c: > > /dev/snd/controlC0 is accessible: yes > > ( 123.847| 0.000) D: [pulseaudio] module-udev-detect.c: > > Resuming all sinks and sources of card alsa_card.pci-0000_03_05.0. > > ( 125.621| 1.774) I: [pulseaudio] client.c: Created 5 "Native > > client (UNIX socket client)" > > ( 125.622| 0.000) D: [pulseaudio] protocol-native.c: Protocol > > version: remote 30, local 30 > > ( 125.622| 0.000) I: [pulseaudio] protocol-native.c: Got > > credentials: uid=1000 gid=1000 success=1 > > ( 125.622| 0.000) D: [pulseaudio] protocol-native.c: SHM > > possible: yes > > ( 125.622| 0.000) D: [pulseaudio] protocol-native.c: > > Negotiated SHM: no > > ( 125.622| 0.000) D: [pulseaudio] protocol-native.c: > > Disabling srbchannel, reason: No SHM support > > ( 125.624| 0.002) D: [pulseaudio] > > module-augment-properties.c: Looking for .desktop file for iceweasel > > ( 125.624| 0.000) D: [pulseaudio] > > module-augment-properties.c: Found > > /usr/share/applications/iceweasel.desktop. > > ( 125.624| 0.000) D: [pulseaudio] conf-parser.c: Parsing > > configuration file '/usr/share/applications/iceweasel.desktop' > > > > 9.) Try to play sound again > > > > $ echo "hello world" | festival --language americanenglish -b > > --tts > > > > Silence! > > > > festival says > > > > ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to > > connect: Protocol error > > > > aplay: main:722: audio open error: Connection refused > > > > Please post the verbose log of what pulseaudio says at this point. ( 160.605| 34.981) I: [pulseaudio] client.c: Created 6 "Native client (UNIX socket client)" ( 160.607| 0.001) I: [pulseaudio] client.c: Freed 6 "Native client (UNIX socket client)" ( 160.607| 0.000) I: [pulseaudio] protocol-native.c: Connection died. ( 160.610| 0.002) I: [pulseaudio] client.c: Created 7 "Native client (UNIX socket client)" ( 160.611| 0.001) D: [pulseaudio] protocol-native.c: Protocol version: remote 30, local 30 ( 160.611| 0.000) I: [pulseaudio] protocol-native.c: Got credentials: uid=1000 gid=1000 success=1 ( 160.611| 0.000) D: [pulseaudio] protocol-native.c: SHM possible: yes ( 160.611| 0.000) D: [pulseaudio] protocol-native.c: Negotiated SHM: yes ( 160.611| 0.000) D: [pulseaudio] srbchannel.c: SHM block is 65496 bytes, ringbuffer capacity is 2 * 32724 bytes ( 160.611| 0.000) D: [pulseaudio] protocol-native.c: Enabling srbchannel... ( 160.613| 0.002) D: [pulseaudio] module-augment-properties.c: Looking for .desktop file for aplay ( 160.615| 0.001) I: [pulseaudio] client.c: Freed 7 "ALSA plug-in [aplay]" ( 160.615| 0.000) I: [pulseaudio] protocol-native.c: Connection died. > > I > > > > a.) expected to hear festival say "hello world", and > > > > b.) am surprised pulseaudio's module-augment-properties.c: > > looked for a .desktop file for iceweasel. > > This is normal. Happens for all applications. > > > -- > > Saludos, > Felipe Sateler Thanks, Kingsley -- Time is the fire in which we all burn.