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

Felipe Sateler fsateler at debian.org
Sun Apr 13 00:02:34 UTC 2014


Hi David,

On Mon, Dec 26, 2011 at 04:01:21PM -0600, David Fries wrote:
> Package: pulseaudio
> Version: 0.9.21-3+squeeze1
> Severity: normal
> 
> 
> I found that pa_stream_write with an offset that's not a multiple of
> the base sample size causes pulseaudio to assert and abort.  This is
> not the case for the nbytes parameter of how many bytes to write, that
> is allowed to not be a multiple of the sample size, but the seek
> offset parameter must be a multiple of the sample size or it asserts.
> 
> E: memblockq.c: Assertion 'length % bq->base == 0' failed at
> pulsecore/memblockq.c:519, function pa_memblockq_drop(). Aborting.
> Aborted
> 
> pulseaudio 1.0-4 gives the following,
> E: [alsa-sink] memblockq.c: Assertion 'length % bq->base == 0' failed
> at pulsecore/memblockq.c:600, function pa_memblockq_drop(). Aborting.
> 
> I've fixed the program causing it, I just wanted to make others aware
> that any program that can play audio can take down the audio daemon.

You reported this issue a long time ago, and the problem might have been
fixed since then.

Can you still reproduce this problem? If so, please reply (preferably
with a short offending program) so we may debug this. Otherwise I'd like
to close this bug.

Thanks


-- 
Saludos,
Felipe Sateler



More information about the pkg-pulseaudio-devel mailing list