pkg audit -F segfault on sparc64 and ia64 [WAS: Re: pkg audit segfault]

Pietro Cerutti gahr at FreeBSD.org
Wed Apr 18 18:05:57 UTC 2012


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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"

-- 
Pietro Cerutti
The FreeBSD Project
gahr at FreeBSD.org

PGP Public Key:
http://gahr.ch/pgp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-sparc64/attachments/20120418/1482e3af/attachment.pgp


More information about the freebsd-sparc64 mailing list