Perl / perl5

🐪 The Perl programming language
https://dev.perl.org/perl5/
Other
1.85k stars 527 forks source link

Not OK: perl 5.00564 on alpha-dec_osf 4.0 (UNINSTALLED) #1112

Closed p5pRT closed 20 years ago

p5pRT commented 24 years ago

Migrated from rt.perl.org#2070 (status was 'resolved')

Searchable as RT2070$

p5pRT commented 24 years ago

From spider@leggy.zk3.dec.com

t/op/closure.t fails here. The reports from harness and t/op/closure.t -debug are attached. No analysis (yet).

op/closure..........panic​: pad_alloc at - line 39. FAILED tests 143-152   Failed 10/170 tests\, 94.12% okay Failed Test Status Wstat Total Fail Failed List of failed ------------------------------------------------------------------------------- op/closure.t 170 10 5.88% 143-152 Failed 1/1 test scripts\, 0.00% okay. 10/170 subtests failed\, 94.12% okay.

------------------------------ panic​: pad_alloc at - line 46.   1​: # This is a test script built by t/op/closure.t   2​:
  3​: # inner_type​: anon   4​: # where_declared​: in_anon   5​: # within​: foreach   6​: # nc_attempt​: 0   7​: # call_inner​: 0   8​: # call_outer​: 1   9​: # undef_outer​: 0 10​:
11​: BEGIN { $SIG{__WARN__} = sub { 12​: my $msg = $_[0]; 13​: print "not ok​: got unexpected warning $msg\n"; 14​: } } 15​:
16​: { 17​: my $test = 143; 18​: sub test (&) { 19​: my $result = &{$_[0]}; 20​: print "not " unless $result; 21​: print "ok $test\n"; 22​: $test++; 23​: } 24​: } 25​:
26​: # some of the variables which the closure will access 27​: $global_scalar = 1000; 28​: @​global_array = (2000\, 2100\, 2200\, 2300); 29​: %global_hash = 3000..3009; 30​:
31​: my $fs_scalar = 4000; 32​: my @​fs_array = (5000\, 5100\, 5200\, 5300); 33​: my %fs_hash = 6000..6009; 34​:
35​: $outer = sub { 36​: my $sub_scalar = 7000; 37​: my @​sub_array = (8000\, 8100\, 8200\, 8300); 38​: my %sub_hash = 9000..9009; 39​:
40​: my $foreach = 12000; 41​: my @​list = (10000\, 10010); 42​: foreach $foreach (@​list) { 43​: $anon_143 = sub { ++$global_scalar }; 44​: $anon_144 = sub { ++$global_array[1] }; 45​: $anon_145 = sub { ++$global_hash{3002} }; 46​: $anon_146 = sub { ++$fs_scalar }; 47​: $anon_147 = sub { ++$fs_array[1] }; 48​: $anon_148 = sub { ++$fs_hash{6002} }; 49​: $anon_149 = sub { ++$foreach }; 50​: $anon_150 = sub { ++$sub_scalar }; 51​: $anon_151 = sub { ++$sub_array[1] }; 52​: $anon_152 = sub { ++$sub_hash{9002} }; 53​: } 54​:
55​: }; 56​:
57​: &$outer; 58​:
59​: test { &$anon_143 == 1001 }; 60​: test { &$anon_144 == 2101 }; 61​: test { &$anon_145 == 3004 }; 62​: test { &$anon_146 == 4001 }; 63​: test { &$anon_147 == 5101 }; 64​: test { &$anon_148 == 6004 }; 65​: test { &$anon_149 == 10011 }; 66​: test { &$anon_150 == 7001 }; 67​: test { &$anon_151 == 8101 }; 68​: test { &$anon_152 == 9004 }; not ok​: exited with error code FF00 ------------------------------

Perl Info ``` Site configuration information for perl 5.00564: Configured by spider at Wed Feb 2 13:04:39 EST 2000. Summary of my perl5 (revision 5.0 version 5 subversion 640) configuration: Platform: osname=dec_osf, osvers=4.0, archname=alpha-dec_osf uname='osf1 leggy.zk3.dec.com v4.0 1203 alpha ' config_args='-dsEO -Darchlib=/local/opt/perl/lib/5.5.640/alpha-dec_osf -Darchname=alpha-dec_osf -Dbin=/local/bin/exp -Dbinexp=/local/bin/exp -Dcc=cc -Dccflags=-std -I/usr/local/include -DDEBUGGING -DDEBUGGING_OPS -D_INTRINSICS -D_INLINE_INTRINSICS -Drand=__random -Dsrand=__srandom -DUSE_PERL_SBRK -DPERL_SBRK_VIA_MALLOC -DEMBEDMYMALLOC= -DPERL_INTERNAL_GLOB -fprm d -ieee -Ud_bincompat3 -Ud_bincompat5005 -Dd_dosuid=define -Dinstallbin=/local/OSF1/alpha/bin/exp -Uinstallstyle= -Dlddlflags=-shared -msym -expect_unresolved "*" -g -std -Dldflags=-std -msym -g -Dlibswanted=sfio gdbm m -Dman1dir=/local/man/man1 -Dman1ext=1 -Dman3dir=/local/man/man3 -Dman3ext=3pl -Doptimize=-g -Dpager=/local/bin/less -Dprefix=/local/opt/perl -Dscriptdir=/local/share/exp -Dsitebin=local/opt/perl/lib/5.5.640/alpha-dec_osf/bin -Dsitevers=5.5.640 -Usitebinexp= -Uinstallsitebin= -Dsitelib=/local/opt/perl/lib/site_perl/5.5.640 -Dsitearch=/local/opt/perl/lib/site_perl/5.5.640/alpha-dec_osf -Duseshrplib ! -Ud_safemcpy= -Ud_sfio= -Ui_dbm -Uinstallarchlib= -Uinstallprivlib= -Uinstallscript= -Uinstallsitearch= -Uinstallsitelib= -Uinstallusrbinperl -Ulibs= -Uperlpath= -Uprivlib= -Urandbits= -Uusethreads -Dusemymalloc=y -e' hint=previous, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usesocks=undef useperlio=undef d_sfio=undef use64bits=define uselargefiles=define usemultiplicity=undef Compiler: cc='cc', optimize='-g', gccversion= cppflags='-std -I/usr/local/include -DDEBUGGING -DDEBUGGING_OPS -D_INTRINSICS -D_INLINE_INTRINSICS -Drand=__random -Dsrand=__srandom -DUSE_PERL_SBRK -DPERL_SBRK_VIA_MALLOC -DEMBEDMYMALLOC= -DPERL_INTERNAL_GLOB -ieee' ccflags ='-std -I/usr/local/include -DDEBUGGING -DDEBUGGING_OPS -D_INTRINSICS -D_INLINE_INTRINSICS -Drand=__random -Dsrand=__srandom -DUSE_PERL_SBRK -DPERL_SBRK_VIA_MALLOC -DEMBEDMYMALLOC= -DPERL_INTERNAL_GLOB -fprm d -ieee' stdchar='unsigned char', d_stdstdio=define, usevfork=false intsize=4, longsize=8, ptrsize=8, doublesize=8 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8 alignbytes=8, usemymalloc=y, prototype=define Linker and Libraries: ld='ld', ldflags ='-std -msym -g -L/usr/local/lib' libpth=/usr/local/lib /usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /var/shlib libs=-lm libc=/usr/shlib/libc.so, so=so, useshrplib=true, libperl=libperl.so Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -Wl,-rpath,/local/opt/perl/lib/5.5.640/alpha-dec_osf/CORE' cccdlflags=' ', lddlflags='-shared -msym -expect_unresolved "*" -g -std -L/usr/local/lib' Locally applied patches: @INC for perl 5.00564: lib /local/opt/perl/lib/5.5.640/alpha-dec_osf /local/opt/perl/lib/5.5.640 /local/opt/perl/lib/site_perl/5.5.640/alpha-dec_osf /local/opt/perl/lib/site_perl/5.5.640 . Environment for perl 5.00564: HOME=/users/spider LANG=C LANGUAGE (unset) LD_LIBRARY_PATH=/local/src/perl5.5.640: LOGDIR (unset) PATH=/users/spider/bin/OSF1/alpha:/users/spider/bin:/local/OSF1/alpha/bin:/local/share:/local/OSF1/alpha/sbin:/local/etc:/local:/tcb/bin:/usr/bin/mh:/usr/ccs/bin:/usr/bin:/usr/lbin:/usr/bin/X11:/usr/sbin:/sbin:/etc:/usr/bin/mme:/usr/field:/usr/bin/X11/demos:. PERL_BADLANG (unset) SHELL=/usr/bin/ksh ```