Bug 230292

Summary: oss audio output error: cannot write samples: Invalid argument
Product: Base System Reporter: SF <shitman71>
Component: kernAssignee: freebsd-multimedia (Nobody) <multimedia>
Status: New ---    
Severity: Affects Some People CC: cem
Priority: ---    
Version: 11.2-RELEASE   
Hardware: amd64   
OS: Any   
Attachments:
Description Flags
[00000008025bf650] oss audio output error: cannot write samples: Invalid argument none

Description SF 2018-08-02 12:45:08 UTC
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.
Comment 1 SF 2018-08-02 12:48:02 UTC
Created attachment 195761 [details]
[00000008025bf650] oss audio output error: cannot write samples: Invalid argument
Comment 2 Conrad Meyer freebsd_committer freebsd_triage 2018-08-02 20:27:14 UTC
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.