#806440 snd_pcm_area_copy: Assertion failed

#806440#5
Date:
2015-11-27 14:00:29 UTC
From:
To:
Dear Mantainer,

I had a program that would record audio from the mic, using pyaudio;
last year it worked OK; this year, after I upgraded to the latest
stable, it stopped working.

I attach two short scripts that trigger the bug.

The first script is ./test_audio.py
in my PC it runs a few seconds; the call "stream.read(rate)"
often raises an IOError " [Errno Input overflowed] -9981"
(that is caught in the script);
after some seconds the script dies with the message:
Note that with smaller chunks it survives more (see script for detail).

The second script is  ./test_audio_callback.py
this one lives much longer but occasionally it dies as above.

     a.