[issue715] panic at shutdown using comconsole

Nicolas Thery nthery at gmail.com
Thu Feb 19 13:11:45 PST 2009

2009/2/17 Thomas Nikolajsen <thomas.nikolajsen at mail.dk>:
>> Matthew Dillon <dillon at apollo.backplane.com> 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.

More information about the Bugs mailing list