Dear Tetsuya,

On 2019-11-02, Tetsuya Isaki wrote:
> At Sat, 26 Oct 2019 18:27:36 +0200,
> Yorick Hardy wrote:
> > [   166.145911] panic: kernel diagnostic assertion "ring->used + n <= 
> > ring->capacity" failed: file "/usr/src/local/sys/dev/audio/audiodef.h", 
> > line 406 called from audio_track_record:4518: ring->used=32256 n=32256 
> > ring->capacity=61440
> > [   166.145911] cpu3: Begin traceback...
> > [   166.145911] vpanic() at netbsd:vpanic+0x178
> > [   166.145911] kern_assert() at netbsd:kern_assert+0x48
> > [   166.155927] audioread() at netbsd:audioread+0xb87
> 
> Can you reproduce this?
> 
> Thanks,
> ---
> Tetsuya Isaki <is...@pastel-flower.jp / is...@netbsd.org>

I should be able to try get it to happen again tomorrow (I managed
to trigger the panic on my work computer only so far). The offending
command is:

 ffplay4 -hide_banner -showmode waves -f oss /dev/audio

(to test the microphone). I think ffmpeg was reading audio much
slower that the driver was providing it (because of the recording
rate mismatch in our oss which you have kindly fixed).

-- 
Kind regards,

Yorick Hardy

Reply via email to