Increasing volume past some limits always results within the error-message: oss audio output error: cannot write samples: Invalid argument This error-messages loops and requires restarting the computer, this happens within all programs which output sound. Seen with 2 different kinds of soundblaster-cards and onboard-sound.
Created attachment 195761 [details] [00000008025bf650] oss audio output error: cannot write samples: Invalid argument
Lots of possible EINVAL sources in dev/sound. What program is producing the output? What would be helpful is a truss log of specific syscalls being invoked, with their parameters. Or even dtrace of the specific stack if you're familiar with how to get that.