Bug#653320: pulseaudio: Assertion 'length % bq->base == 0' failed, kills daemon

Felipe Sateler fsateler at debian.org
Thu Apr 17 21:56:07 UTC 2014


Control: tags -1 -moreinfo
Control: tags -1 confirmed upstream
Control: found -1 5.0-2
Control: forwarded -1 https://bugs.freedesktop.org/show_bug.cgi?id=77595

Hi David,

On Thu, Apr 17, 2014 at 2:27 AM, David Fries <david at fries.net> wrote:

> Thanks for asking about this bug, I modified a test (attached) to
> demonstrate it is still a problem.  There might be a shorter setup
> sequence, but it comes down to giving SEEK as something other than a
> multiple of the sample size.
> pa_stream_write(p, buffer, nbytes, NULL, SEEK, PA_SEEK_RELATIVE);
>
> pulseaudio 2.0-6.1
>
> cc -g -Wall -g  PulseSeekBug.c -lpulse -o PulseSeekBug && ./PulseSeekBug
> wrote 65472, offset 1
> Stream state 3, suspended -15, corked -15, writable size -1
> Stream state 3, suspended -15, corked -15, writable size -1
> Stream state 3, suspended -15, corked -15, writable size -1
> Stream state 3, suspended -15, corked -15, writable size -1
>
> /usr/bin/pulseaudio
> W: [pulseaudio] pid.c: Stale PID file, overwriting.
> E: [alsa-sink] memblockq.c: Assertion 'length % bq->base == 0' failed at pulsecore/memblockq.c:613, function pa_memblockq_drop(). Aborting.
> Aborted

I can confirm the problem still exists with version 5.0 from unstable.
I also forwarded the bug report upstream[1]. Lets see if we can figure
how to fix this.

Thanks!

[1] https://bugs.freedesktop.org/show_bug.cgi?id=77595


-- 

Saludos,
Felipe Sateler



More information about the pkg-pulseaudio-devel mailing list