Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Mar 2022 08:34:23 +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-QqyRY5cSqz@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 #6 from Aleksander Slomka <alex@alexslomka.xyz> ---
I'm on commit 1b3bef43e3cb7fb0ab49b813839915514c1134cc.=20

kgdb shows that the panic happens on this line:

1463            if (PCM_DETACHING(d) || !PCM_REGISTERED(d))

So for some reason when I specify a invalid `dev` value, `d` is still equal=
 to
`NULL` after this statement:

1462            d =3D devclass_get_softc(pcm_devclass, i);

--=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-QqyRY5cSqz>