From owner-freebsd-current@freebsd.org Wed Aug 26 22:35:15 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 5C3AA9C33FB for ; Wed, 26 Aug 2015 22:35:15 +0000 (UTC) (envelope-from pawelbsd@gmail.com) Received: from mail-wi0-x229.google.com (mail-wi0-x229.google.com [IPv6:2a00:1450:400c:c05::229]) (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 E48247C5; Wed, 26 Aug 2015 22:35:14 +0000 (UTC) (envelope-from pawelbsd@gmail.com) Received: by widdq5 with SMTP id dq5so60670333wid.1; Wed, 26 Aug 2015 15:35:13 -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=H8EyUDNexFMEIzuFxhGpESiZresZshTas71+BMUkK0Y=; b=mgEqL9gBKlW/CUs8zd2wAfqxJvg00sax+O+ZgkISMTIqUCAeAnmwJrQHlAMYtbi5q5 5a6t5l2QTJyYbRRvdLYWkC7h15NJE6rMLDPJx1CmsVs5x6RQHmweRmHyYg+SaRVtaz0H uF6w1KNCQ/mpe/oaEA95Bk8e2IlkLpdJqA+/jRh2uR5oh61sQu+uILhtsUcwiKjYrh1j sIGYh9Ed0FDT+h+mUtOREPLP247wNwzhIkEEam6UCsi8V3aLYa6mLBQiQbaochw2ASkP 0Gs0Se0IB/v5PKoYdytxMIurA2FHOCz1cW23d6iQ5RgwlNTxQjbR0xBwT3qweFvv7x5z IgJg== X-Received: by 10.181.11.168 with SMTP id ej8mr6851006wid.83.1440628513496; Wed, 26 Aug 2015 15:35:13 -0700 (PDT) Received: from localhost ([176.221.120.165]) by smtp.gmail.com with ESMTPSA id r8sm9663924wik.16.2015.08.26.15.35.11 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 26 Aug 2015 15:35:12 -0700 (PDT) Sender: =?UTF-8?B?UGF3ZcWCIFDEmWthbGE=?= Date: Thu, 27 Aug 2015 00:30:32 +0200 From: Pawel Pekala To: Konstantin Belousov Cc: Andriy Gapon , John-Mark Gurney , FreeBSD Current , Lawrence Stewart , "K. Macy" Subject: Re: Instant panic while trying run ports-mgmt/poudriere Message-ID: <20150827003032.06a1b06b@FreeBSD.org> In-Reply-To: <20150823125442.GK2072@kib.kiev.ua> References: <20150713231205.627bab36@FreeBSD.org> <20150714223829.GY8523@funkthat.com> <20150715174616.652d0aea@FreeBSD.org> <20150715180526.GM8523@funkthat.com> <20150715223703.78b9197c@FreeBSD.org> <20150806233328.47a02594@FreeBSD.org> <55CB5428.2090505@room52.net> <55D96E24.9060106@FreeBSD.org> <20150823090816.GJ2072@kib.kiev.ua> <20150823125442.GK2072@kib.kiev.ua> X-Mailer: Claws Mail 3.12.0 (GTK+ 2.24.28; 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: Wed, 26 Aug 2015 22:35:15 -0000 Hi Konstantin, On 2015-08-23 15:54 +0300, Konstantin Belousov wrote: >After looking at your data closely, I think you are right. The panic >occurs when the exit1(9) does KNOTE_LOCKED(NOTE_EXIT). This is the >only case in the tree where filter uses knlist_remove_inevent() to >detach processed note, so indeed the slist is modified under the >iterator. > >Below is the patch with the suggested change and unrelated cleanup of >the uma(9) KPI use. Please test, everybody who has a panic with the >backtrace pointing to the sys_exit(). This patch fixes issue for me. Thank you. --=20 pozdrawiam / with regards Pawe=C5=82 P=C4=99kala