From owner-freebsd-current@freebsd.org Mon Jul 13 21:54:21 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 EF25E99CA4D for ; Mon, 13 Jul 2015 21:54:20 +0000 (UTC) (envelope-from pawelbsd@gmail.com) Received: from mail-wi0-x234.google.com (mail-wi0-x234.google.com [IPv6:2a00:1450:400c:c05::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 88672822 for ; Mon, 13 Jul 2015 21:54:20 +0000 (UTC) (envelope-from pawelbsd@gmail.com) Received: by wiga1 with SMTP id a1so81971626wig.0 for ; Mon, 13 Jul 2015 14:54:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=IvxtahfJ8np3RDSEyZu8vtxDoA3gvXoAVBGnoNHjpP0=; b=aFHAt7MrfM80KSyKe61vmgY5a8H4JNsHIRI/32KNuZrTzkwCpxxJgnkLHCbbGMbXe9 VUnYr8hCQWiKTne6dn2KxR4G02FtQKUTgXCcvZauIRnqG6BwVyRnBAC4lHco08xbqY8C 40fUtzPYV+NcmlB4rTQr31mXsIAtuKvgPlG3qwek/GGLw2k3SAoE6omzfNJVx8pESQih yumcSwKitvSdRNeng/4+9CqXEBZ75Gc+9C4n5gQupdURYziF0vGfhIQPSxM8uq6NJel9 YmdiUtQdD/FLM1M09U1QmiJu62tMwWFtupfUcQDh63NJpxCP8GQ+zq4h/oNarKB8xG1f vt5A== X-Received: by 10.194.238.168 with SMTP id vl8mr72584712wjc.128.1436824459047; Mon, 13 Jul 2015 14:54:19 -0700 (PDT) Received: from localhost ([176.221.120.130]) by smtp.gmail.com with ESMTPSA id lu5sm31497053wjb.9.2015.07.13.14.54.18 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 Jul 2015 14:54:18 -0700 (PDT) Sender: =?UTF-8?B?UGF3ZcWCIFDEmWthbGE=?= Date: Mon, 13 Jul 2015 23:50:21 +0200 From: Pawel Pekala To: Mateusz Guzik Cc: freebsd-current@freebsd.org Subject: Re: Instant panic while trying run ports-mgmt/poudriere Message-ID: <20150713235021.5824ee48@FreeBSD.org> In-Reply-To: <20150713212820.GA21313@dft-labs.eu> References: <20150713231205.627bab36@FreeBSD.org> <20150713212820.GA21313@dft-labs.eu> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.27; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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: Mon, 13 Jul 2015 21:54:21 -0000 Hi Mateusz, On 2015-07-13 23:28 +0200, Mateusz Guzik wrote: >On Mon, Jul 13, 2015 at 11:12:05PM +0200, Pawel Pekala wrote: >> Hi >>=20 >> 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: >>=20 >> (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=3D0xfffff801a2589408, hint=3D2147483648, lockflags=3D> optimized out>) at /hdd/src/sys/kern/kern_event.c:1920 #27 >> 0xffffffff80946a51 in exit1 (td=3D0xfffff801b84014d0, rv=3D> optimized out>) at /hdd/src/sys/kern/kern_exit.c:560 #28 >> 0xffffffff80945f1e in sys_sys_exit (td=3D0x0, uap=3D> out>) at /hdd/src/sys/kern/kern_exit.c:178 #29 0xffffffff80dcdaa2 in >> out>amd64_syscall (td=3D0xfffff801b84014d0, traced=3D0) >> 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 >>=20 >> 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. > >Can you enter kgdb and: >f 26 >p *list > >? (kgdb) f 26 #26 0xffffffff80941430 in knote (list=3D0xfffff801a2589408, hint=3D21474836= 48,=20 lockflags=3D) at /hdd/src/sys/kern/kern_event.c:19= 20 1920 } else if ((lockflags & KNF_NOKQLOCK) !=3D 0) { Current language: auto; currently minimal (kgdb) p *list $1 =3D {kl_list =3D {slh_first =3D 0x0}, kl_lock =3D 0xffffffff809418e0 ,=20 kl_unlock =3D 0xffffffff80941900 ,=20 kl_assert_locked =3D 0xffffffff80941920 ,=20 kl_assert_unlocked =3D 0xffffffff80941940 ,=20 kl_lockarg =3D 0xfffff801a2589120} Forgot to add my uname -a last time: FreeBSD blaviken.slowicza.org 11.0-CURRENT FreeBSD 11.0-CURRENT #44 r285509= : Mon Jul 13 22:38:11 CEST 2015 corn@blaviken.slowicza.org:/usr/obj/hdd= /src/sys/GENERIC amd64 --=20 pozdrawiam / with regards Pawe=C5=82 P=C4=99kala