pcm_pulse.c:275: pulse_write: Assertion `pcm->last_size >= (size * pcm->frame_size)' failed. (Intrepid & pulseaudio_0.9.11-0ubuntu1~ppa3 - TheMuso PPA)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ALSA driver |
Invalid
|
Undecided
|
Unassigned | ||
PulseAudio |
Fix Released
|
Unknown
|
|||
alsa-plugins (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
pulseaudio (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
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-
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/
<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/
<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).
Changed in alsa-plugins: | |
status: | New → Confirmed |
description: | updated |
description: | updated |
Changed in pulseaudio: | |
status: | Unknown → New |
Changed in pulseaudio: | |
status: | New → Fix Released |
Changed in alsa-driver: | |
status: | Unknown → In Progress |
Luke,
I've tested the latest PulseAudio from GIT, and this issue persists - hopefully this will prevent you wasting some time ;). It seems likely the problem is (at least partially) within alsa-plugins.
You may also want to keep an eye on this thread: https:/ /tango. 0pointer. de/pipermail/ pulseaudio- discuss/ 2008-August/ 002222. html