NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/60332: system crashed when ^C on midiplay hung and i turned the synth off



The following reply was made to PR kern/60332; it has been noted by GNATS.

From: Taylor R Campbell <riastradh%NetBSD.org@localhost>
To: mrg%eterna23.net@localhost
Cc: gnats-bugs%NetBSD.org@localhost, netbsd-bugs%NetBSD.org@localhost
Subject: Re: kern/60332: system crashed when ^C on midiplay hung and i turned the synth off
Date: Mon, 15 Jun 2026 00:42:13 +0000

 > Date: Mon, 15 Jun 2026 00:38:23 +0000
 > From: Taylor R Campbell <riastradh%NetBSD.org@localhost>
 >=20
 > Second one I started to work on a few years ago but didn't get around
 > to testing, and comments like this one make me suspect a bunch more
 > work is needed (along the lines of
 > https://www.NetBSD.org/gallery/presentations/riastradh/eurobsdcon2022/ope=
 ndetach.pdf).
 
 Comments like this one, I mean:
 
     224 	/*
     225 	 * Nuke the vnodes for any open instances (calls close).
     226 	 * Will wait until any activity on the device nodes has ceased.
     227 	 *
     228 	 * XXXAD NOT YET.
     229 	 *
     230 	 * XXXAD NEED TO PREVENT NEW REFERENCES THROUGH AUDIO_ENTER().
     231 	 */
     232 	mn =3D device_unit(self);
     233 	vdevgone(maj, mn, mn, VCHR);
 
 https://nxr.NetBSD.org/xref/src/sys/dev/midi.c?r=3D1.101#224
 



Home | Main Index | Thread Index | Old Index