← Back to team overview

desktop-packages team mailing list archive

[Bug 262326] Re: pcm_pulse.c:275: pulse_write: Assertion `pcm->last_size >= (size * pcm->frame_size)' failed. (Intrepid & pulseaudio_0.9.11-0ubuntu1~ppa3 - TheMuso PPA)

 

outdated flavor, report about a newer active version if needed

** Changed in: alsa-driver
   Importance: Unknown => Undecided

** Changed in: alsa-driver
       Status: In Progress => New

** Changed in: alsa-driver
 Remote watch: ALSA Bug Tracker (discontinued) #2601 => None

** Changed in: alsa-driver
       Status: New => Invalid

-- 
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/262326

Title:
   pcm_pulse.c:275: pulse_write: Assertion `pcm->last_size >= (size *
  pcm->frame_size)' failed. (Intrepid & pulseaudio_0.9.11-0ubuntu1~ppa3
  - TheMuso PPA)

Status in ALSA driver:
  Invalid
Status in PulseAudio sound server:
  Fix Released
Status in alsa-plugins package in Ubuntu:
  Invalid
Status in pulseaudio package in Ubuntu:
  Fix Released

Bug description:
  The pcm_pulse plugins do not work correctly *for some ALSA
  applications* with PulseAudio 0.9.11 from TheMuso's repository (I am
  using the patched version, see bug #262322). Applications with native
  PulseAudio support work correctly.

  System: Intrepid i386 (w/latest updates) & pulseaudio 0.9.11-0ubuntu1~ppa3
  Sound card: 00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)

  Example 1:
  conn@dimension:~$ mplayer /usr/share/example-content/ubuntu\ Sax.ogg -ao pulse 
  <snip>
  AO: [pulse] 44100Hz 2ch s16le (2 bytes per sample)
  Video: no video
  Starting playback...
  A:   1.7 (01.6) of 26.0 (25.9)  0.5% 
  <snip>

  Example 2 (asoundconf set-pulseaudio has been enabled):
  conn@dimension:~$ mplayer /usr/share/example-content/ubuntu\ Sax.ogg -ao alsa
  <snip>
  AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample)
  Video: no video
  Starting playback...
  mplayer: pcm_pulse.c:275: pulse_write: Assertion `pcm->last_size >= (size * pcm->frame_size)' failed.
  <snip>

  Expected results: both examples play sound correctly (same behaviour as 0.9.10)
  Actual results: Example 1 plays correctly, while Example 2 fails to play an audio stream, with the error output above.

  Edit: At first I thought that all ALSA applications suffered from this
  problem, but I was mistaken.

  Confirmed to cause assertion failures: Skype, mplayer
  Confirmed to work correctly (sound plays, no assertion failures or warnings): GStreamer ALSA backend (Totem, Rhythmbox, etc.), flashplugin-nonfree 10.0.0.569ubuntu1 without libflashsupport (not yet in Intrepid, available in my PPA).
  Other: VLC using ALSA plugin (no assertion errors, listed as client in Volume Control, but it plays silence).

To manage notifications about this bug go to:
https://bugs.launchpad.net/alsa-driver/+bug/262326/+subscriptions