Port-sparc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

SHA512 hash function crashing



Has anyone else seen this?  If it's a known problem, or someone already
has a patch, I don't want to waste too much time on it.  However, it
happens when running a -current release either built native or cross
built from a NetBSD/amd64 system.

Since it doesn't seem to happen on the amd64 box, I'm a bit suspicious
of the GCC optimizer...

Sunergy# uname -a
NetBSD Sunergy.Bullers.Net 5.99.15 NetBSD 5.99.15 (GENERIC) #1: Thu Jul 30 11:23:11 PDT 2009 jon%xw8200.Bullers.Net@localhost:/home/netbsd-current/usr/obj/sparc/sys/arch/sparc/compile/GENERIC sparc
Sunergy# gdb /usr/sbin/pkg_admin ./pkg_admin.core
GNU gdb 6.5
Copyright (C) 2006 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 "sparc--netbsdelf"...(no debugging symbols found)

Reading symbols from /usr/lib/libtermcap.so.0...(no debugging symbols found)...done.

[ snip... ]

Reading symbols from /usr/libexec/ld.elf_so...
(no debugging symbols found)...done.
Loaded symbols for /usr/libexec/ld.elf_so
Core was generated by `pkg_admin'.
Program terminated with signal 10, Bus error.
#0  0x20398ac0 in _SHA512_Final () from /usr/lib/libc.so.12
(gdb) where
#0  0x20398ac0 in _SHA512_Final () from /usr/lib/libc.so.12
#1  0x000154e8 in free_pkg_vulnerabilities ()
#2  0x00015dc4 in parse_pkg_vulnerabilities ()
#3  0x0001337c in fetch_pkg_vulnerabilities ()
#4  0x00014f88 in main ()
(gdb)


Home | Main Index | Thread Index | Old Index