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



> Date: Mon, 15 Jun 2026 00:38:23 +0000
> From: Taylor R Campbell <riastradh%NetBSD.org@localhost>
> 
> 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/opendetach.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 = device_unit(self);
    233 	vdevgone(maj, mn, mn, VCHR);

https://nxr.NetBSD.org/xref/src/sys/dev/midi.c?r=1.101#224



Home | Main Index | Thread Index | Old Index