develooper Front page | perl.perl5.porters | Postings from October 2014

Re: Smoke [blead] v5.21.4-284-ge642545 FAIL(F) HP-UX B.11.31/64(ia64/2 cpu)

Thread Previous
From:
H.Merijn Brand
Date:
October 9, 2014 15:41
Subject:
Re: Smoke [blead] v5.21.4-284-ge642545 FAIL(F) HP-UX B.11.31/64(ia64/2 cpu)
Message ID:
20141009174043.5b54bb7b@pc09.procura.nl
I can reproduce the Digest::SHA woodbury.t 32bit FAIL outside the core
using (v5.14.2) built for IA64.ARCHREV_0-LP64-ld, so I guess that this
implies it is a bug in Digest::SHA and not in CORE

My smokes cause the core-dump in woodbury.t when executing

my $skip = hmac_sha384("", "") ? 0 : 1;

which I tracked down to

static ULNG shadirect(UCHR *bitstr, ULNG bitcnt, SHA *s)
{
	ULNG savecnt = bitcnt;

	warn ("# x0 (%d, %d, 0x%x)\n", bitcnt, s->blocksize, s->sha);
	while (bitcnt >= s->blocksize) {
		s->sha(s, bitstr);   /* <######## HERE ########### */
		bitstr += (s->blocksize >> 3);
		bitcnt -= s->blocksize;
		warn ("# y0 (%d, %d)\n", bitcnt, s->blocksize);
	}

trace for 5.14.2 is a tiny bit different:

#0  0x60000000c37e98d0:1 in sha512 (s=0x200000007fffe2c4,
    block=0x200000007fffe4c4 '\\' <repeats 128 times>, "@\001d\250 ")
    at sha64bit.c:103
#1  0x60000000c37eb7f0:0 in shadirect (
    bitstr=0x200000007fffe4c4 '\\' <repeats 128 times>, "@\001d\250 ",
    bitcnt=1024, s=0x200000007fffe2c4)
   from /home/merijn/.cpan/build/Digest-SHA-5.92-nukiEq/blib/arch/auto/Digest/SHA/SHA.so
#2  0x60000000c37ece10:0 in shawrite (
    bitstr=0x200000007fffe4c4 '\\' <repeats 128 times>, "@\001d\250 ",
    bitcnt=1024, s=0x200000007fffe2c4)
   from /home/merijn/.cpan/build/Digest-SHA-5.92-nukiEq/blib/arch/auto/Digest/SHA/SHA.so
#3  0x60000000c37eed90:0 in hmacinit (h=0x200000007fffe0c8, alg=384,
    key=0x2000000040085aa0 "", keylen=0)
   from /home/merijn/.cpan/build/Digest-SHA-5.92-nukiEq/blib/arch/auto/Digest/SHA/SHA.so
#4  0x60000000c37f4430:0 in XS_Digest__SHA_hmac_sha1 (
    my_perl=0x200000004002e650, cv=0x20000000401b2550)
   from /home/merijn/.cpan/build/Digest-SHA-5.92-nukiEq/blib/arch/auto/Digest/SHA/SHA.so
#5  0x41de180:0 in Perl_pp_entersub (my_perl=Unhandled dwarf expression opcode
)
#6  0x41c9c40:0 in Perl_runops_standard (my_perl=Unhandled dwarf expression opcode
) at run.c:42
#7  0x40addc0:0 in perl_run (my_perl=0x200000004002e650)
#8  0x4055260:0 in main (argc=-876896931, argv=0x60000000cbbb9d5d,
    env=0x200000007fffef0c) at perlmain.c:114

both perl versions were built with gcc-4.7.2

On Thu, 9 Oct 2014 15:49 +0200, "H.Merijn Brand" <h.m.brand@xs4all.nl>
wrote:

> Automated smoke report for branch blead 5.21.5 patch e64254544c11557cb1b5190db4b7f1b2f1aeabe0 v5.21.4-284-ge642545
> x2: ia64 (ia64/2 cpu)
>     on        HP-UX - B.11.31/64
>     using     ccache gcc version 4.7.2
>     smoketime 9 hours 21 minutes (average 1 hour 10 minutes)
> 
> Summary: FAIL(F)
> 
> O = OK  F = Failure(s), extended report at the bottom
> X = Failure(s) under TEST but not under harness
> ? = still running or test results not (yet) available
> Build failures during:       - = unknown or N/A
> c = Configure, m = make, M = make (after miniperl), t = make test-prep
> 
> v5.21.4-284-ge642545  Configuration (common) -Dcc=gcc
> ----------- ---------------------------------------------------------
> F F F F F F 
> O O O O O O -Duse64bitall
> F F F F F F -Duseithreads
> O O O O O O -Duseithreads -Duse64bitall
> | | | | | +- LC_ALL = univ.utf8 -DDEBUGGING
> | | | | +--- PERLIO = perlio -DDEBUGGING
> | | | +----- PERLIO = stdio  -DDEBUGGING
> | | +------- LC_ALL = univ.utf8
> | +--------- PERLIO = perlio
> +----------- PERLIO = stdio 
> 
> Locally applied patches:
>     SMOKEe64254544c11557cb1b5190db4b7f1b2f1aeabe0
> 
> Testsuite was run only with 'harness'
> 
> Failures: (common-args) -Dcc=gcc
> [stdio/perlio/univ.utf8] 
> [stdio/perlio/univ.utf8] -DDEBUGGING
> [stdio/perlio/univ.utf8] -Duseithreads
> [stdio/perlio/univ.utf8] -DDEBUGGING -Duseithreads
> ../cpan/Digest-SHA/t/woodbury.t.............................FAILED
>     No plan found in TAP output


-- 
H.Merijn Brand  http://tux.nl   Perl Monger  http://amsterdam.pm.org/
using perl5.00307 .. 5.19   porting perl5 on HP-UX, AIX, and openSUSE
http://mirrors.develooper.com/hpux/        http://www.test-smoke.org/
http://qa.perl.org   http://www.goldmark.org/jeff/stupid-disclaimers/

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About