[pulseaudio-discuss] module-combine-sinks latency

Tanu Kaskinen tanuk at iki.fi
Mon Jul 9 00:06:34 PDT 2012


On Mon, 2012-07-09 at 08:53 +0300, Tanu Kaskinen wrote:
> On Sun, 2012-07-08 at 23:16 +0100, Marius Bjørnstad wrote:
> > Just one final comment, module-combine-sink seems to crash when I
> > specify 96 kHz for the output, in "default-sample-rate". I hear sound
> > for about a half second, then pulseaudio exits. I'm using version 1.1
> > (Fedora seems to be up to date with everything, except for Pulseaudio).
> > 
> > Jul  8 17:31:59 blackhole pulseaudio[16965]: [alsa-sink] resampler.c:
> > Assertion 'o_index * fz < pa_memblock_get_length(output->memblock)'
> > failed at pulsecore/resampler.c:1394, function trivial_resample(). Aborting.
> > Jul  8 17:31:59 blackhole abrt[17278]: Saved core dump of pid 16965
> > (/usr/bin/pulseaudio) to /var/spool/abrt/ccpp-2012-07-08-17:31:59-16965
> > (46649344 bytes)
> 
> I think I've investigated that assertion already before, but I couldn't
> find any bug just by reading the code. At that time I wasn't able to
> reproduce it myself, though, but now I am able to do that. It seems that
> the 96 kHz sample rate is indeed an important part of the setup, because
> without it there's no crash.
> 
> I'll investigate this again.

Turned out to be an integer overflow. A patch is coming.

-- 
Tanu



More information about the pulseaudio-discuss mailing list