From owner-freebsd-ports@FreeBSD.ORG Sun Dec 8 20:41:02 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 223DD4D0; Sun, 8 Dec 2013 20:41:02 +0000 (UTC) Received: from spectrum.skysmurf.nl (spectrum.skysmurf.nl [82.95.125.145]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 46E5F1E5C; Sun, 8 Dec 2013 20:41:01 +0000 (UTC) Received: from spectrum.skysmurf.nl ([192.168.42.3]) by spectrum.skysmurf.nl (8.14.5/8.14.5) with SMTP id rB8Kev2R060950; Sun, 8 Dec 2013 21:40:57 +0100 (CET) (envelope-from freebsd@skysmurf.nl) Received: by spectrum.skysmurf.nl (sSMTP sendmail emulation); Sun, 08 Dec 2013 21:40:57 +0100 Date: Sun, 8 Dec 2013 21:40:57 +0100 From: "A.J. 'Fonz' van Werven" To: Michael Gmelin Subject: Re: "pkg repo" dumps core Message-ID: <20131208204057.GA60899@spectrum.skysmurf.nl> References: <20131206183759.GA66308@spectrum.skysmurf.nl> <20131206200452.6ff3fba7@bsd64.grem.de> <1386429686.2287.9.camel@lenovo.toontown> <20131207202958.58ab3f61@bsd64.grem.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VS++wcV0S1rZb1Fb" Content-Disposition: inline In-Reply-To: <20131207202958.58ab3f61@bsd64.grem.de> X-PGP-Key: http://www.skysmurf.nl/~fonz/fonz_pubkey.asc User-Agent: Mutt/1.5.22 (2013-10-16) Cc: Baptiste Daroussin , freebsd-ports@freebsd.org, jlaffaye@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Dec 2013 20:41:02 -0000 --VS++wcV0S1rZb1Fb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Michael Gmelin wrote: > There is a bug in pkg that makes it segfault on meta ports (package > without any files), the first one to trigger this in AJs ports is > docbook. See below or github for a patch. >=20 > @bapt: https://github.com/freebsd/pkg/pull/673 I just tested it with both GCC and Clang and the patch appears to have fixed the problem. Thanks. I couldn't get a stack trace, though. As described by Sergio, there are normally no debugging symbols and when compiled with WITH_DEBUG=3Dyes the segfault suddenly vanished. AvW --=20 I'm not completely useless, I can be used as a bad example. --VS++wcV0S1rZb1Fb Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQIcBAEBAgAGBQJSpNlZAAoJEAfP7gJTaCe8hoUP+wX0XIYo835YHMkKpN9Aw9QE xoeepSGmFlVlsehwNWt/wZgtgSzTWWT/EctVM1mAhbhCLfOPw/iFvZw7In1OjxTG AuRA/setzooU+EjfvGz+hDPXA9h/ZvD9u4xhjAtbjaVOcz9zD0l5G/5oUXxO2vZ/ mchQeN1/XYWg0QYPZfEa/iuIid3EWWWIs14G7AMXxCNE2BKubhRU6Xf5TvscmBKL LMI+HXRuM1VhiAGamioDdQKv2LiZpTk2a7ffhFG9w0uJZjAGRetADvGN2ywzUfT1 lR7mFW1LkJE3/UiPgfQZQn3SeTRZSv+PaR5f+2lIhzitTMVPyo8bt/shOXCMSVSn Ij9//iofs3zl8ccJMIhfWzqLgz4s0SZ6uVIytzPCKkFqHfCcWfglmeax4A4IE4I5 KwR06RtFeqICM/3UybSD+yUBOEEP4o2PtlZS5U/aRkFrqqqwQGA4uU7/cx6lwc1y 1rF9vzK2ooiEeZj2XZunXXKXiVMBXlE2Pu/ZTmNWistNqpNNYqxfn59WhbwgJl+x m6l5hh/slYvUVEY1ZNOMCGGkJP92hzc9zH36qb6sLL9cSe0BIjsQUm0QCvBr5OhU agOxEhN8wzwaDV/relWS1OwHnoleZ0tuBfiICsv2CGhOw5VcNvno1lKi3XmDe9gn RwE6Bh6YePCHX5FX7u4B =vVna -----END PGP SIGNATURE----- --VS++wcV0S1rZb1Fb--