From owner-freebsd-ports@freebsd.org Wed Apr 20 12:30:48 2016 Return-Path: Delivered-To: freebsd-ports@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 22B7CB160EF for ; Wed, 20 Apr 2016 12:30:48 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citapm.icyb.net.ua (citapm.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id F1369179A; Wed, 20 Apr 2016 12:30:46 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citapm.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id PAA01688; Wed, 20 Apr 2016 15:30:45 +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 1asrHI-0005AG-Vc; Wed, 20 Apr 2016 15:30:44 +0300 Subject: Re: minor(?) problem with pkg crashing To: Baptiste Daroussin References: <20160420083947.GD26116@ivaldir.etoilebsd.net> Cc: ports From: Andriy Gapon Message-ID: <9cf498cc-4e9f-155b-9b52-88d33b418fba@FreeBSD.org> Date: Wed, 20 Apr 2016 15:30:08 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.0 MIME-Version: 1.0 In-Reply-To: <20160420083947.GD26116@ivaldir.etoilebsd.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Apr 2016 12:30:48 -0000 On 20/04/2016 11:39, Baptiste Daroussin wrote: > On Wed, Apr 20, 2016 at 11:27:22AM +0300, Andriy Gapon wrote: >> pkg 1.7.2 crashed at the end of upgrade run, after completing all the upgrades. >> Unfortunately no debug symbols, but it looks like a double free or something >> like that, seems that this happens only if >>> Conflicts with the existing packages have been found. >>> One more solver iteration is needed to resolve them. >> >> The crash is in pkg_jobs_free() -> pkg_free() -> free() >> > Did it happen only once, or is it a reproducible case for you? Reproducible. -- Andriy Gapon