← Back to team overview

desktop-packages team mailing list archive

[Bug 1533783] [NEW] pulseaudio crashes starting audio playback while another audio source is running

 

Public bug reported:

While playing a youtube video, starting up another audio playback (in
this case, in Rhythmbox) causes the video player to crash.

I expected the video (with its audio track) to continue playback without
crashing, while Rhythmbox gets mixed in as a second, concurrent audio
source.

Instead what happens is that I start playing a track in Rhythmbox, that
first track fails with an error "Failed to open output device:
pa_stream_writable_size() failed: Connection terminated", at this point
the youtube video crashes and then the next track in Rhythmbox begins to
play without pulseaudio.

Running pulseaudio -vvvv, I can see that alsa-sink.c is for some reason
processing lots of rewinds shortly before there is an implicit underrun
reported, then pulseaudio dies.


Ubuntu release: 15.10 wily
Pulseaudio package version: 1:6.0-0ubuntu13

I had no problems with audio on my previous install on this hardware
(14.04 LTS, clean install). Ever since I did a clean install of 15.10 on
the same hardware I've had problems with audio and pulseaudio.

My audio setup is analogue 5.1 output on ALC889A (Gigabyte GA-MA790GP-
DS4H onboard HDA) using snd_intel_hda; there is also HDMI audio output
hardware detected but which I'm not using. I've had to install
pavucontrol to select my analogue output as it doesn't show up in the
standard sound settings (only the digital output).

I had modified /etc/pulse/daemon.conf to adjust default-fragments and
default-fragment-size-msec to fix glitchy audio in a game, and then
modified them back to default values when that stopped music players
from working - I was constantly getting the same pa_stream_writable_size
error as above.

Adding then removing "options snd-hda-intel model=intel-alc889a" from
/etc/modprobe.d/alsa-base.conf has made no difference.

There could be a timer problem - when booting up, the boot process
stalls unless I press a key, move the mouse or add "nolapic_timer" to
grub boot options (which I'm running with at the moment); the pulseaudio
log refers to a lack of high resolution timers and disabling timer-based
scheduling. I'm going to try taking that out and see whether that makes
a difference.

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: pulseaudio 1:6.0-0ubuntu13
ProcVersionSignature: Ubuntu 4.2.0-23.28-generic 4.2.6
Uname: Linux 4.2.0-23-generic x86_64
NonfreeKernelModules: zfs zunicode zcommon znvpair zavl fglrx
ApportVersion: 2.19.1-0ubuntu5
Architecture: amd64
AudioDevicesInUse:
 USER        PID ACCESS COMMAND
 /dev/snd/pcmC0D0p:   chinf      5088 F...m rhythmbox
 /dev/snd/controlC0:  chinf      5088 F.... rhythmbox
 /dev/snd/timer:      chinf      5088 f.... rhythmbox
CurrentDesktop: Unity
Date: Wed Jan 13 17:07:09 2016
EcryptfsInUse: Yes
InstallationDate: Installed on 2015-12-11 (33 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
SourcePackage: pulseaudio
Symptom: audio
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 09/16/2009
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: F6
dmi.board.name: GA-MA790GP-DS4H
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrF6:bd09/16/2009:svnGigabyteTechnologyCo.,Ltd.:pnGA-MA790GP-DS4H:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnGA-MA790GP-DS4H:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr:
dmi.product.name: GA-MA790GP-DS4H
dmi.sys.vendor: Gigabyte Technology Co., Ltd.
modified.conffile..etc.pulse.daemon.conf: [modified]
mtime.conffile..etc.pulse.daemon.conf: 2016-01-12T19:13:34.278812

** Affects: pulseaudio (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug wily

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pulseaudio in Ubuntu.
https://bugs.launchpad.net/bugs/1533783

Title:
  pulseaudio crashes starting audio playback while another audio source
  is running

Status in pulseaudio package in Ubuntu:
  New

Bug description:
  While playing a youtube video, starting up another audio playback (in
  this case, in Rhythmbox) causes the video player to crash.

  I expected the video (with its audio track) to continue playback
  without crashing, while Rhythmbox gets mixed in as a second,
  concurrent audio source.

  Instead what happens is that I start playing a track in Rhythmbox,
  that first track fails with an error "Failed to open output device:
  pa_stream_writable_size() failed: Connection terminated", at this
  point the youtube video crashes and then the next track in Rhythmbox
  begins to play without pulseaudio.

  Running pulseaudio -vvvv, I can see that alsa-sink.c is for some
  reason processing lots of rewinds shortly before there is an implicit
  underrun reported, then pulseaudio dies.

  
  Ubuntu release: 15.10 wily
  Pulseaudio package version: 1:6.0-0ubuntu13

  I had no problems with audio on my previous install on this hardware
  (14.04 LTS, clean install). Ever since I did a clean install of 15.10
  on the same hardware I've had problems with audio and pulseaudio.

  My audio setup is analogue 5.1 output on ALC889A (Gigabyte GA-MA790GP-
  DS4H onboard HDA) using snd_intel_hda; there is also HDMI audio output
  hardware detected but which I'm not using. I've had to install
  pavucontrol to select my analogue output as it doesn't show up in the
  standard sound settings (only the digital output).

  I had modified /etc/pulse/daemon.conf to adjust default-fragments and
  default-fragment-size-msec to fix glitchy audio in a game, and then
  modified them back to default values when that stopped music players
  from working - I was constantly getting the same
  pa_stream_writable_size error as above.

  Adding then removing "options snd-hda-intel model=intel-alc889a" from
  /etc/modprobe.d/alsa-base.conf has made no difference.

  There could be a timer problem - when booting up, the boot process
  stalls unless I press a key, move the mouse or add "nolapic_timer" to
  grub boot options (which I'm running with at the moment); the
  pulseaudio log refers to a lack of high resolution timers and
  disabling timer-based scheduling. I'm going to try taking that out and
  see whether that makes a difference.

  ProblemType: Bug
  DistroRelease: Ubuntu 15.10
  Package: pulseaudio 1:6.0-0ubuntu13
  ProcVersionSignature: Ubuntu 4.2.0-23.28-generic 4.2.6
  Uname: Linux 4.2.0-23-generic x86_64
  NonfreeKernelModules: zfs zunicode zcommon znvpair zavl fglrx
  ApportVersion: 2.19.1-0ubuntu5
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/pcmC0D0p:   chinf      5088 F...m rhythmbox
   /dev/snd/controlC0:  chinf      5088 F.... rhythmbox
   /dev/snd/timer:      chinf      5088 f.... rhythmbox
  CurrentDesktop: Unity
  Date: Wed Jan 13 17:07:09 2016
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2015-12-11 (33 days ago)
  InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
  PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
  SourcePackage: pulseaudio
  Symptom: audio
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 09/16/2009
  dmi.bios.vendor: Award Software International, Inc.
  dmi.bios.version: F6
  dmi.board.name: GA-MA790GP-DS4H
  dmi.board.vendor: Gigabyte Technology Co., Ltd.
  dmi.board.version: x.x
  dmi.chassis.type: 3
  dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
  dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrF6:bd09/16/2009:svnGigabyteTechnologyCo.,Ltd.:pnGA-MA790GP-DS4H:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnGA-MA790GP-DS4H:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr:
  dmi.product.name: GA-MA790GP-DS4H
  dmi.sys.vendor: Gigabyte Technology Co., Ltd.
  modified.conffile..etc.pulse.daemon.conf: [modified]
  mtime.conffile..etc.pulse.daemon.conf: 2016-01-12T19:13:34.278812

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1533783/+subscriptions


Follow ups