From owner-freebsd-current@freebsd.org Wed Jan 20 13:38:15 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 65BAFA8B000 for ; Wed, 20 Jan 2016 13:38:15 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 53EBB1A47 for ; Wed, 20 Jan 2016 13:38:15 +0000 (UTC) (envelope-from hps@selasky.org) Received: by mailman.ysv.freebsd.org (Postfix) id 5362EA8AFFE; Wed, 20 Jan 2016 13:38:15 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 52E42A8AFFD for ; Wed, 20 Jan 2016 13:38:15 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1DB901A45 for ; Wed, 20 Jan 2016 13:38:14 +0000 (UTC) (envelope-from hps@selasky.org) Received: from laptop015.home.selasky.org (unknown [62.141.129.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 0D8061FE024; Wed, 20 Jan 2016 14:38:12 +0100 (CET) Subject: Re: head/amd64 @r294411: panic: Assertion tty_gone(tp) failed at /usr/src/sys/sys/ttydevsw.h:191 To: David Wolfskill , current@freebsd.org References: <20160120131124.GB13446@albert.catwhisker.org> From: Hans Petter Selasky Message-ID: <569F8E4D.6050206@selasky.org> Date: Wed, 20 Jan 2016 14:40:29 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <20160120131124.GB13446@albert.catwhisker.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jan 2016 13:38:15 -0000 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