Bug #2554

Updated by ftigeot over 2 years ago


I've been suffering from this for quite some time (couldn't pinpoint the exact moment it appeared): while playing an .avi with mplayer, the machine would dump and reboot (dump and all will be uploading to leaf in a moment). This is a small box (VIA CPU) where everything is done in software (no DRM, etc.): I suspect that for some reason mplayer doesn't keep up filling data to the sound driver buffer, and at the wrong time, the kernel attempts to feed the hw channel, and boom.

The attached patch seems to cure (I forgot it during my update to the 3.4 branch, and this morning it stroke back again). However, I'm neither certain my analysis is correct, nor that's the proper fix. Could anybody glance at it and provide advice, please ?

Thank you,