head/amd64 _at_r294411: panic: Assertion tty_gone(tp) failed at /usr/src/sys/sys/ttydevsw.h:191

From: David Wolfskill <david_at_catwhisker.org>
Date: Wed, 20 Jan 2016 05:11:24 -0800
This is on my build machine (laptop is still building its kernel), so
kernel here is GENERIC.  Copy/paste from serial console:

panic: Assertion tty_gone(tp) failed at /usr/src/sys/sys/ttydevsw.h:191
cpuid = 7
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe085de54430
vpanic() at vpanic+0x182/frame 0xfffffe085de544b0
kassert_panic() at kassert_panic+0x126/frame 0xfffffe085de54520
tty_drain() at tty_drain+0x80/frame 0xfffffe085de54560
ttydev_leave() at ttydev_leave+0x8d/frame 0xfffffe085de54580
ttydev_close() at ttydev_close+0xaf/frame 0xfffffe085de545a0
devfs_close() at devfs_close+0x223/frame 0xfffffe085de54610
VOP_CLOSE_APV() at VOP_CLOSE_APV+0xf1/frame 0xfffffe085de54640
vn_close() at vn_close+0xcd/frame 0xfffffe085de546b0
vn_closefile() at vn_closefile+0x4a/frame 0xfffffe085de54730
devfs_close_f() at devfs_close_f+0x2c/frame 0xfffffe085de54760
_fdrop() at _fdrop+0x1a/frame 0xfffffe085de54780
closef() at closef+0x1e1/frame 0xfffffe085de54810
fdescfree_fds() at fdescfree_fds+0x9d/frame 0xfffffe085de54850
fdescfree() at fdescfree+0x46c/frame 0xfffffe085de54910
exit1() at exit1+0x4e6/frame 0xfffffe085de54990
ys_sys_exit() at sys_sys_exit+0xd/frame 0xfffffe085de549a0
amd64_syscall() at amd64_syscall+0x2db/frame 0xfffffe085de54ab0
Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfffffe085de54ab0
--- syscall (1, FreeBSD ELF64, sys_sys_exit), rip = 0x80090801a, rsp = 0x7fffffffc248, rbp = 0x7fffffffc260 ---
KDB: enter: panic
[ thread pid 305 tid 100103 ]
Stopped at      kdb_enter+0x3b: movq    $0,kdb_why
db> 


/etc/src.conf includes 'WITH_FAST_DEPEND=1', and world & kernel were built
in-place while the system had been running _at_r294319, using -DNO_CLEAN.

I can probably get a crash dump; if so, I can make it available.  I am
also willing to poke at the debugger via serial console, given guidance.

Peace,
david
-- 
David H. Wolfskill				david_at_catwhisker.org
Those who would murder in the name of God or prophet are blasphemous cowards.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

Received on Wed Jan 20 2016 - 12:11:32 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:02 UTC