From owner-freebsd-current@freebsd.org Tue Sep 1 20:54:30 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 DA4299C70A2 for ; Tue, 1 Sep 2015 20:54:30 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id B5F731226; Tue, 1 Sep 2015 20:54:29 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id XAA25503; Tue, 01 Sep 2015 23:54:19 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1ZWsZP-0005fe-I5; Tue, 01 Sep 2015 23:54:19 +0300 Subject: Re: Instant panic while trying run ports-mgmt/poudriere To: John-Mark Gurney References: <20150715180526.GM8523@funkthat.com> <20150715223703.78b9197c@FreeBSD.org> <20150806233328.47a02594@FreeBSD.org> <55CB5428.2090505@room52.net> <55D96E24.9060106@FreeBSD.org> <20150826233616.GU33167@funkthat.com> <55DEBA8B.5060009@FreeBSD.org> <20150827180945.GW33167@funkthat.com> <55DF713D.7000808@FreeBSD.org> <20150901182406.GN33167@funkthat.com> Cc: FreeBSD Current , Lawrence Stewart , Pawel Pekala , "K. Macy" From: Andriy Gapon X-Enigmail-Draft-Status: N1110 Message-ID: <55E61042.2050401@FreeBSD.org> Date: Tue, 1 Sep 2015 23:53:22 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <20150901182406.GN33167@funkthat.com> Content-Type: text/plain; charset=windows-1252 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: Tue, 01 Sep 2015 20:54:30 -0000 John-Mark, with all the due respect I have to invoke the forest-vs-trees argument here: - it is established that in the knote() loop the current knote member of the klist can be removed - it's a fact that getting a pointer to a next element from a removed element is an illegal operation - FOREACH_SAFE is specifically designed to handle exactly this kind of the iteration -- Andriy Gapon