2009/2/17 Thomas Nikolajsen <[email protected]>: >> Matthew Dillon <[email protected]> added the comment: >> >> :New crash dump using HEAD of Feb 12, 2009. >> : >> What is the panic message / backtrace ? > > See below, it's also attached as file in the bug tool. > > -thomas > - > panic: VOP_STDCLOSE: BAD OPENCOUNT 0xe992fd68 0 type=8 ops=0xc0388ba0 > flgs=00005008
It looks like s_ttyvp has been vgone_vxlocked() as it is set to VBAD and has v_opencount==0. I don't know if the bug comes from this call to vgone_vxlocked(). If not, we could lazily check for VBAD in ctty*() and reset s_ttyvp if it is BAD.
