Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Apr 2012 13:31:30 +0100
From:      Anton Shterenlikht <mexas@bristol.ac.uk>
To:        Baptiste Daroussin <bapt@freebsd.org>
Cc:        Julien Laffaye <jlaffaye@freebsd.org>, Anton Shterenlikht <mexas@bristol.ac.uk>, freebsd-sparc64@freebsd.org, freebsd-ports@freebsd.org, Pietro Cerutti <gahr@freebsd.org>
Subject:   Re: pkg audit -F segfault on sparc64 and ia64 [WAS: Re: pkg audit segfault]
Message-ID:  <20120425123130.GA74468@mech-cluster241.men.bris.ac.uk>
In-Reply-To: <20120421213423.GA30575@azathoth.lan>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120425123130.GA74468>