Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jan 2016 14:40:29 +0100
From:      Hans Petter Selasky <hps@selasky.org>
To:        David Wolfskill <david@catwhisker.org>, current@freebsd.org
Subject:   Re: head/amd64 @r294411: panic: Assertion tty_gone(tp) failed at /usr/src/sys/sys/ttydevsw.h:191
Message-ID:  <569F8E4D.6050206@selasky.org>
In-Reply-To: <20160120131124.GB13446@albert.catwhisker.org>
References:  <20160120131124.GB13446@albert.catwhisker.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 01/20/16 14:11, David Wolfskill wrote:
> 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 @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.
>

Can you "svn up" ?

https://svnweb.freebsd.org/changeset/base/294414

--HPS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?569F8E4D.6050206>