Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Mar 2022 13:40:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 262671] Kernel panics after a invalid SNDCTL_MIXERINFO ioctl
Message-ID:  <bug-262671-227-GCrT0lsHLN@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-262671-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-262671-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262671

--- Comment #8 from Aleksander Slomka <alex@alexslomka.xyz> ---
> The highest unit number here is 3, but when I checked in kgdb `devclass_g=
et_maxunit(pcm_devclass)` returns the value `5`.
To clarify things - `devclass_get_maxunit(pcm_devclass)` should return 4 si=
nce
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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-262671-227-GCrT0lsHLN>