From owner-freebsd-current@freebsd.org Tue Jul 14 22:27:10 2015 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 681F59A22D5 for ; Tue, 14 Jul 2015 22:27:10 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "gold.funkthat.com", Issuer "gold.funkthat.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 2D98B16E5; Tue, 14 Jul 2015 22:27:09 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (localhost [127.0.0.1]) by gold.funkthat.com (8.14.5/8.14.5) with ESMTP id t6EMR2ga052858 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 14 Jul 2015 15:27:02 -0700 (PDT) (envelope-from jmg@gold.funkthat.com) Received: (from jmg@localhost) by gold.funkthat.com (8.14.5/8.14.5/Submit) id t6EMR2EJ052857; Tue, 14 Jul 2015 15:27:02 -0700 (PDT) (envelope-from jmg) Date: Tue, 14 Jul 2015 15:27:02 -0700 From: John-Mark Gurney To: Pawel Pekala Cc: Mateusz Guzik , freebsd-current@FreeBSD.org Subject: Re: Instant panic while trying run ports-mgmt/poudriere Message-ID: <20150714222702.GX8523@funkthat.com> References: <20150713231205.627bab36@FreeBSD.org> <20150713212820.GA21313@dft-labs.eu> <20150714224743.0927db44@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150714224743.0927db44@FreeBSD.org> X-Operating-System: FreeBSD 9.1-PRERELEASE amd64 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-TipJar: bitcoin:13Qmb6AeTgQecazTWph4XasEsP7nGRbAPE X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? User-Agent: Mutt/1.5.21 (2010-09-15) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (gold.funkthat.com [127.0.0.1]); Tue, 14 Jul 2015 15:27:03 -0700 (PDT) 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: Tue, 14 Jul 2015 22:27:10 -0000 Pawel Pekala wrote this message on Tue, Jul 14, 2015 at 22:47 +0200: > On 2015-07-13 23:28 +0200, Mateusz Guzik wrote: > >On Mon, Jul 13, 2015 at 11:12:05PM +0200, Pawel Pekala wrote: > >> Hi > >> > >> I'm getting 100% reproducible kernel crash while trying build ports > >> with poudriere on my system. This started to show up about 2-3 weeks > >> ago. I upgrade my system on weekly basis usually on saturday. > >> Here's backtrace: > >> > >> (kgdb) bt > >[..] > >> at /hdd/src/sys/amd64/amd64/trap.c:201 > >> #25 0xffffffff80dace32 in calltrap () > >> at /hdd/src/sys/amd64/amd64/exception.S:235 #26 0xffffffff80941430 > >> in knote (list=0xfffff801a2589408, hint=2147483648, lockflags= >> optimized out>) at /hdd/src/sys/kern/kern_event.c:1920 #27 > >> 0xffffffff80946a51 in exit1 (td=0xfffff801b84014d0, rv= >> optimized out>) at /hdd/src/sys/kern/kern_exit.c:560 #28 > >> 0xffffffff80945f1e in sys_sys_exit (td=0x0, uap= >> out>) at /hdd/src/sys/kern/kern_exit.c:178 #29 0xffffffff80dcdaa2 in > >> out>amd64_syscall (td=0xfffff801b84014d0, traced=0) > >> at subr_syscall.c:133 > >> #30 0xffffffff80dad11b in Xfast_syscall () > >> at /hdd/src/sys/amd64/amd64/exception.S:395 #31 0x0000000800922eea > >> in ?? () Previous frame inner to this frame (corrupt stack?) > >> Current language: auto; currently minimal > >> > >> Let me know if you need more details. > > > > > >Well, if the problem is really that reproducible it would be best if > >you narrowed it down to the exact commit. > > > >However, quick look suggests you may be a "victim" of r284861. > > After further testing I can confirm that this panic was introduced in > r284861, thanks for the hint! Can you tell me what your line 1920 of kern_event.c is? (and the context around it? Or at least the $FreeBSD$ line from kern_event.c? Because in HEAD, the line is: } else if ((lockflags & KNF_NOKQLOCK) != 0) { and there isn't a way to fault on that code... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."