From owner-freebsd-stable@FreeBSD.ORG Tue Jun 10 12:02:43 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D10211065710; Tue, 10 Jun 2008 12:02:43 +0000 (UTC) (envelope-from jaj@hcl-club.lu) Received: from 0b10111.de (hcl-club.lu [62.75.155.129]) by mx1.freebsd.org (Postfix) with ESMTP id 9081B8FC26; Tue, 10 Jun 2008 12:02:43 +0000 (UTC) (envelope-from jaj@hcl-club.lu) Received: from nirvana.my.domain (4be54-4-82-234-154-189.fbx.proxad.net [82.234.154.189]) by 0b10111.de (Postfix) with ESMTPS id 7CED3BFB0032; Tue, 10 Jun 2008 12:02:42 +0000 (UTC) Received: by nirvana.my.domain (Postfix, from userid 1000) id 212617DD1; Tue, 10 Jun 2008 14:02:41 +0200 (CEST) Date: Tue, 10 Jun 2008 14:02:40 +0200 From: Jona Joachim To: Kris Kennaway Message-ID: <20080610120240.GA2964@nirvana.my.domain> References: <484BE563.90102@FreeBSD.org> <20080610003222.GA3822@nirvana.my.domain> <484DD565.2010700@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TB36FDmn/VVEgNH/" Content-Disposition: inline In-Reply-To: <484DD565.2010700@FreeBSD.org> X-PGP-Key: http://www.hcl-club.lu/~jaj/pubkey.asc User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-stable@freebsd.org Subject: Re: pkg_delete core dump when removing linux-tiff X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jun 2008 12:02:44 -0000 --TB36FDmn/VVEgNH/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 10, 2008 at 03:14:13AM +0200, Kris Kennaway wrote: > Jona Joachim wrote: > > On Sun, Jun 08, 2008 at 03:57:55PM +0200, Kris Kennaway wrote: > >> Jona Joachim wrote: > >>> Hi! > >>> > >>> pkg_delete core dumps on me when it tries to remove linux-tiff. > >>> I can reproduce this reliably. > >>> FWIW you can find the core dump here: > >>> http://www.hcl-club.lu/~jaj/stuff/pkg_delete.core > >> You need to obtain the backtrace, see the developers handbook. > >=20 > > I built pkg_delete with -g but gdb says 'no debugging symbols found'. > > Is the following information sufficient or do I need to rebuild everyth= ing with debugging information turned on? >=20 > It was probably stripped at install, I think you can set STRIP=3D (i.e.= =20 > empty value) but doesn't it also explain this in the handbook? Program received signal SIGSEGV, Segmentation fault. 0x48165a73 in strncmp () from /lib/libc.so.7 (gdb) bt #0 0x48165a73 in strncmp () from /lib/libc.so.7 #1 0x0804dad4 in delete_package (ign_err=3D0, nukedirs=3D0, pkg=3D0x805354= 0) at plist.c:462 #2 0x0804a91d in pkg_do (pkg=3D0x810b160 "linux-tiff-3.7.1") at perform.c:= 319 #3 0x08049f50 in pkg_perform (pkgs=3D0x8113068) at perform.c:112 #4 0x08049b93 in real_main (argc=3D1, argv=3D0xbfbfeb98) at main.c:145 #5 0x0804b0d5 in main (argc=3D2, argv=3D0xbfbfeb90) at pkgwrap.c:88 (gdb)=20 --TB36FDmn/VVEgNH/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkhObWAACgkQBLVThWGOYx4h6QCZAS6d055YntcI98X4FYqxG6jy a4UAnjE+C5oEYqncUw2rv9s+9Vvzk18x =eFxN -----END PGP SIGNATURE----- --TB36FDmn/VVEgNH/--