Subject: | hmac_sha384("", "") crashes on HP-UX IA.64 |
This cause the woodbury test to fail like this:
-bash-4.2$ perl -Mblib t/woodbury.t
1..21
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
Bus error (core dumped)
In gdb I see this:
In gdb I see this:
-bash-4.2$ gdb32 perl-debugging
HP gdb 3.4 for PA-RISC 1.1 or 2.0 (narrow), HP-UX 11.00.
Copyright 1986 - 2001 Free Software Foundation, Inc.
Hewlett-Packard Wildebeest 3.4 (based on GDB) is covered by the
GNU General Public License. Type "show copying" to see the conditions to
change it and/or distribute copies. Type "show warranty" for warranty/support.
..
Detected IPF executable.
Invoking /opt/langtools/bin/gdb
Use "run" to continue execution
(no debugging symbols found)...(gdb) run -Mblib -MDigest::SHA=hmac_sha384 -e 'hmac_sha384("", "")'
Starting program: /home/gecko/apeeX1/bin/perl-debugging -Mblib -MDigest::SHA=hmac_sha384 -e 'hmac_sha384("", "")'
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...
Program received signal SIGBUS, Bus error (si_code: 1).
warning: No unwind information found.
Skipping this library /usr/lib/hpux32/libcl.so.1.
0x200000007e813d40:1 in sha512 (s=0x7fffed2c,
block=0x7fffef2c '\\' <repeats 128 times>) at src/sha64bit.c:105
105 a = H[0]; b = H[1]; c = H[2]; d = H[3];
(gdb)
-bash-4.2$ perl -V
-bash-4.2$ perl -V
Summary of my perl5 (revision 5 version 12 subversion 5) configuration:
Platform:
osname=hpux, osvers=11.23, archname=IA64.ARCHREV_0-thread-multi
uname='hp-ux bugaboo b.11.23 u ia64 3532919469 unlimited-user license '
config_args='-ders -Dcc=cc -Dusethreads -Duseithreads -Uinstallusrbinperl -Ulocincpth= -Uloclibpth= -Ud_sigsetjmp -Dsh=/usr/bin/sh -Dd_attribut=undef -Dd_attribute_warn_unused_result=undef -Dd_u32align=define -Aprepend:libswanted=cl -Accflags=+DSitanium2 -Doptimize=-fast +Ofltacc=strict -Accflags=+Z -Accflags=-DUSE_SITECUSTOMIZE -Duselargefiles -Dprefix=/home/gecko/apeeX1 -Dprivlib=/home/gecko/apeeX1/lib -Darchlib=/home/gecko/apeeX1/lib -Dsiteprefix=/home/gecko/apeeX1/site -Dsitelib=/home/gecko/apeeX1/site/lib -Dsitearch=/home/gecko/apeeX1/site/lib -Dsed=/usr/bin/sed -Duseshrplib -Dcf_by=ActiveState -Dcf_email=support@ActiveState.com'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=undef, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags =' -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings +DSitanium2 +Z -DUSE_SITECUSTOMIZE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 ',
optimize='-fast +Ofltacc=strict',
cppflags='-D__STDC_EXT__ -D_HPUX_SOURCE -D_POSIX_C_SOURCE=199506L -D_REENTRANT -D_HPUX_SOURCE -Wl,+vnocompatwarnings -DUSE_SITECUSTOMIZE'
ccversion='B3910B A.05.55', gccversion='', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='/usr/bin/ld', ldflags =' -L/usr/lib/hpux32'
libpth=/usr/lib/hpux32 /lib /usr/lib /usr/ccs/lib /usr/local/lib
libs=-lcl -lnsl -lnm -lndbm -ldl -ldld -lm -lsec -lpthread -lc
perllibs=-lcl -lnsl -lnm -ldl -ldld -lm -lsec -lpthread -lc
libc=/usr/lib/hpux32/libc.so, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_hpux.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-B,deferred '
cccdlflags='+Z', lddlflags='-b +vnocompatwarnings -L/usr/lib/hpux32'