Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Apr 2012 23:34:24 +0200
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Pietro Cerutti <gahr@FreeBSD.org>
Cc:        freebsd-sparc64@FreeBSD.org, freebsd-ports@FreeBSD.org, Julien Laffaye <jlaffaye@FreeBSD.org>
Subject:   Re: pkg audit -F segfault on sparc64 and ia64 [WAS: Re: pkg audit segfault]
Message-ID:  <20120421213423.GA30575@azathoth.lan>
In-Reply-To: <20120418180554.GB47452@gahrfit.gahr.ch>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--2fHTh5uZTiUOsy+g
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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.
> >=20
> > segfault also on sparc64 r230787M
>=20
> I have a couple of sparc64 machines on which I can test, but that won't
> be before next week.. I'll follow-up.
>=20
> >=20
> > # 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
> > #=20
> >=20
> > # pkg audit -F
> > http://portaudit.FreeBSD.org/auditfile.tbz              100%   76KB  75=
=2E7KB/s  75.7KB/s   00:00   =20
> > 0 problem(s) in your installed packages found.
> > Segmentation fault (core dumped)
> >=20
> > # gdb /usr/local/sbin/pkg pkg.core=20
> > GNU gdb 6.1.1 [FreeBSD]
> > Copyright 2004 Free Software Foundation, Inc.
> > GDB is free software, covered by the GNU General Public License, and yo=
u are
> > welcome to change it and/or distribute copies of it under certain condi=
tions.
> > Type "show copying" to see the conditions.
> > There is absolutely no warranty for GDB.  Type "show warranty" for deta=
ils.
> > 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)=20
> >=20
> > --=20
> > 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"
>=20
> --=20
> Pietro Cerutti
> The FreeBSD Project
> gahr@FreeBSD.org
>=20
> PGP Public Key:
> http://gahr.ch/pgp



--2fHTh5uZTiUOsy+g
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAk+TJ98ACgkQ8kTtMUmk6Ez3KACcCp617GXaW+g/rvZ5u0NMVoCN
Is0An1apMOPGFjMcNzujHTAFOYiYq8Ir
=vAeo
-----END PGP SIGNATURE-----

--2fHTh5uZTiUOsy+g--



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