From owner-freebsd-sparc64@FreeBSD.ORG Wed Apr 25 12:31:32 2012 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6EEE0106566B; Wed, 25 Apr 2012 12:31:32 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id B96E68FC08; Wed, 25 Apr 2012 12:31:31 +0000 (UTC) Received: from ncsc.bris.ac.uk ([137.222.10.41]) by dirj.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1SN1Na-00034P-PE; Wed, 25 Apr 2012 13:31:30 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncsc.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1SN1Na-0007WY-Hp; Wed, 25 Apr 2012 13:31:30 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5) with ESMTP id q3PCVUH3074482; Wed, 25 Apr 2012 13:31:30 +0100 (BST) (envelope-from mexas@bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5/Submit) id q3PCVUuF074481; Wed, 25 Apr 2012 13:31:30 +0100 (BST) (envelope-from mexas@bris.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bris.ac.uk using -f Date: Wed, 25 Apr 2012 13:31:30 +0100 From: Anton Shterenlikht To: Baptiste Daroussin Message-ID: <20120425123130.GA74468@mech-cluster241.men.bris.ac.uk> References: <20120416142124.GA17906@mech-cluster241.men.bris.ac.uk> <4F8C3393.6020703@freebsd.org> <20120416151306.GA24208@mech-cluster241.men.bris.ac.uk> <20120418124430.GA34779@mech-cluster241.men.bris.ac.uk> <20120418180554.GB47452@gahrfit.gahr.ch> <20120421213423.GA30575@azathoth.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120421213423.GA30575@azathoth.lan> User-Agent: Mutt/1.4.2.3i Cc: Julien Laffaye , freebsd-sparc64@freebsd.org, freebsd-ports@freebsd.org Subject: Re: pkg audit -F segfault on sparc64 and ia64 [WAS: Re: pkg audit segfault] X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Apr 2012 12:31:32 -0000 On Sat, Apr 21, 2012 at 11:34:24PM +0200, Baptiste Daroussin wrote: > Fixed in git thank you for reporting > > On Wed, Apr 18, 2012 at 08:05:54PM +0200, Pietro Cerutti wrote: > > On 2012-Apr-18, 13:44, Anton Shterenlikht wrote: > > > On Mon, Apr 16, 2012 at 04:13:06PM +0100, Anton Shterenlikht wrote: > > > > On Mon, Apr 16, 2012 at 04:58:27PM +0200, Julien Laffaye wrote: > > > > > On 04/16/2012 04:21 PM, Anton Shterenlikht wrote: > > > > > >pkg audit -F > > > > > On my 9.0-RELEASE amd64, it works fine. > > > > > > segfault also on sparc64 r230787M > > > > I have a couple of sparc64 machines on which I can test, but that won't > > be before next week.. I'll follow-up. > > > > > > > > # pkg -vvv > > > version: 1.0-beta11 > > > abi: freebsd:10:sparc64:64 > > > db dir: /var/db/pkg > > > cache dir: /var/cache/pkg > > > ports dir: /usr/ports > > > Log into syslog: yes > > > Assume always yes: no > > > Handle rc scripts: no > > > Track shlibs: no > > > Automatic depdency tracking: no > > > Custom keywords directory: none > > > Repository: none > > > # > > > > > > # pkg audit -F > > > http://portaudit.FreeBSD.org/auditfile.tbz 100% 76KB 75.7KB/s 75.7KB/s 00:00 > > > 0 problem(s) in your installed packages found. > > > Segmentation fault (core dumped) > > > > > > # gdb /usr/local/sbin/pkg pkg.core > > > GNU gdb 6.1.1 [FreeBSD] > > > Copyright 2004 Free Software Foundation, Inc. > > > GDB is free software, covered by the GNU General Public License, and you are > > > welcome to change it and/or distribute copies of it under certain conditions. > > > Type "show copying" to see the conditions. > > > There is absolutely no warranty for GDB. Type "show warranty" for details. > > > This GDB was configured as "sparc64-marcel-freebsd"... > > > Core was generated by `pkg'. > > > Program terminated with signal 11, Segmentation fault. > > > Reading symbols from /usr/local/lib/libpkg.so.0...done. > > > Loaded symbols for /usr/local/lib/libpkg.so.0 > > > Reading symbols from /lib/libutil.so.9...done. > > > Loaded symbols for /lib/libutil.so.9 > > > Reading symbols from /lib/libjail.so.1...done. > > > Loaded symbols for /lib/libjail.so.1 > > > Reading symbols from /lib/libc.so.7...done. > > > Loaded symbols for /lib/libc.so.7 > > > Reading symbols from /usr/lib/libarchive.so.5...done. > > > Loaded symbols for /usr/lib/libarchive.so.5 > > > Reading symbols from /lib/libsbuf.so.6...done. > > > Loaded symbols for /lib/libsbuf.so.6 > > > Reading symbols from /usr/lib/libfetch.so.6...done. > > > Loaded symbols for /usr/lib/libfetch.so.6 > > > Reading symbols from /usr/lib/libelf.so.1...done. > > > Loaded symbols for /usr/lib/libelf.so.1 > > > Reading symbols from /lib/libthr.so.3...done. > > > Loaded symbols for /lib/libthr.so.3 > > > Reading symbols from /lib/libedit.so.7...done. > > > Loaded symbols for /lib/libedit.so.7 > > > Reading symbols from /lib/libz.so.6...done. > > > Loaded symbols for /lib/libz.so.6 > > > Reading symbols from /usr/lib/libbz2.so.4...done. > > > Loaded symbols for /usr/lib/libbz2.so.4 > > > Reading symbols from /usr/lib/liblzma.so.5...done. > > > Loaded symbols for /usr/lib/liblzma.so.5 > > > Reading symbols from /lib/libbsdxml.so.4...done. > > > Loaded symbols for /lib/libbsdxml.so.4 > > > Reading symbols from /lib/libcrypto.so.6...done. > > > Loaded symbols for /lib/libcrypto.so.6 > > > Reading symbols from /usr/lib/libssl.so.6...done. > > > Loaded symbols for /usr/lib/libssl.so.6 > > > Reading symbols from /lib/libmd.so.5...done. > > > Loaded symbols for /lib/libmd.so.5 > > > Reading symbols from /lib/libncurses.so.8...done. > > > Loaded symbols for /lib/libncurses.so.8 > > > Reading symbols from /libexec/ld-elf.so.1...done. > > > Loaded symbols for /libexec/ld-elf.so.1 > > > #0 0x00000000407f31a8 in __sparc_utrap_install () from /lib/libc.so.7 > > > [New Thread 41c04400 (LWP 100130/pkg)] > > > (gdb) bt > > > #0 0x00000000407f31a8 in __sparc_utrap_install () from /lib/libc.so.7 > > > #1 0x00000000407f32cc in __sparc_utrap_install () from /lib/libc.so.7 > > > #2 0x00000000407f3570 in __sparc_utrap_install () from /lib/libc.so.7 > > > #3 0x00000000407f2dac in __sparc_utrap_install () from /lib/libc.so.7 > > > #4 0x0000000040225b74 in dlsym () from /libexec/ld-elf.so.1 > > > #5 0x0000000040225b74 in dlsym () from /libexec/ld-elf.so.1 > > > Previous frame identical to this frame (corrupt stack?) > > > (gdb) > > > > > > -- > > > Anton Shterenlikht > > > Room 2.6, Queen's Building > > > Mech Eng Dept > > > Bristol University > > > University Walk, Bristol BS8 1TR, UK > > > Tel: +44 (0)117 331 5944 > > > Fax: +44 (0)117 929 4423 > > > _______________________________________________ > > > freebsd-ports@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > > > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > > > > -- > > Pietro Cerutti > > The FreeBSD Project > > gahr@FreeBSD.org > > > > PGP Public Key: > > http://gahr.ch/pgp > > I confirm that in v 1.0-beta12 pkg audit works fine on both sparc64 and ia64. -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423