NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/40551



On Mon, Dec 30, 2013 at 09:40:00AM +0000, Martin Husemann wrote:
>  It should not panic, but instead fail the ioctl call.

Sure, but that’s not what happens here, sadly.


>  Why is the software you are using trying to set such tiny values?
>  Does the real code at least initialize the encoding used? Your sample
>  program does not do that.
>  
>  Martin
>  

Yes, the encoding is setup before blocksize in the SDL audio code.
My test code was a bit bigger than that when I first wrote it, and did
the setup of the encoding and channels as well, it still triggered the
panic.

As for mpv trying to set such tiny block size, I have no idea, that’s
what I found using gdb on it to find the call that triggered the panic.


-- 
Envoyé depuis ma GameBoy.
 
PGP key: D674 0670 BF8E 6A82 43C0 F317 AEC9 29D0 E8D7 F7B7



Home | Main Index | Thread Index | Old Index