[Bug 262671] Kernel panics after a invalid SNDCTL_MIXERINFO ioctl

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 20 Mar 2022 13:40:22 UTC

--- Comment #8 from Aleksander Slomka <alex@alexslomka.xyz> ---
> The highest unit number here is 3, but when I checked in kgdb `devclass_get_maxunit(pcm_devclass)` returns the value `5`.
To clarify things - `devclass_get_maxunit(pcm_devclass)` should return 4 since
I have only 4 mixer devices, but it returns 5.

Now the problem is that I have no idea how to debug why
`devclass_get_maxunit(pcm_devclass)` is returning the wrong value.

You are receiving this mail because:
You are the assignee for the bug.