Subject: | Deep recursion on subroutine "SOAP::Cloneable::clone" during make test |
On a bare perlbrew install of 5.16.3, I did a 'cpanm SOAP::Lite". It eventually consumes all available memory if you just let it go like that. If you stop it and go into the working directory and do a "make test" there are many test failures in
t/13-mod_perl.t
and finally it tells you Deep recursion on subroutine "SOAP::Cloneable::clone" at /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Lite.pm line 421.
cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.2 (Tikanga)
$ perl -V
Summary of my perl5 (revision 5 version 16 subversion 3) configuration:
Platform:
osname=linux, osvers=2.6.18-92.el5, archname=x86_64-linux
uname='linux wwwa.openair.com 2.6.18-92.el5 #1 smp tue apr 29 13:16:15 edt 2008 x86_64 x86_64 x86_64 gnulinux '
config_args='-de -Dprefix=/opt/perl5/perls/perl-5.16.3 -Aeval:scriptdir=/opt/perl5/perls/perl-5.16.3/bin'
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
ccversion='', gccversion='4.1.2 20071124 (Red Hat 4.1.2-42)', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -fstack-protector -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib /lib64 /usr/lib64 /usr/local/lib64
libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
libc=/lib/libc-2.5.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.5'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector'
Characteristics of this binary (from libperl):
Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_DONT_CREATE_GVSV
PERL_MALLOC_WRAP PERL_PRESERVE_IVUV USE_64_BIT_ALL
USE_64_BIT_INT USE_LARGE_FILES USE_LOCALE
USE_LOCALE_COLLATE USE_LOCALE_CTYPE
USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF
Built under linux
Compiled at Apr 18 2014 14:56:02
%ENV:
PERLBREW_BASHRC_VERSION="0.44"
PERLBREW_HOME="/home/operations/.perlbrew"
PERLBREW_MANPATH="/opt/perl5/perls/perl-5.16.3/man"
PERLBREW_PATH="/opt/perl5/bin:/opt/perl5/perls/perl-5.16.3/bin"
PERLBREW_PERL="perl-5.16.3"
PERLBREW_ROOT="/opt/perl5"
PERLBREW_VERSION="0.44"
@INC:
/opt/perl5/perls/perl-5.16.3/lib/site_perl/5.16.3/x86_64-linux
/opt/perl5/perls/perl-5.16.3/lib/site_perl/5.16.3
/opt/perl5/perls/perl-5.16.3/lib/5.16.3/x86_64-linux
/opt/perl5/perls/perl-5.16.3/lib/5.16.3
.
$ make test
PERL_DL_NONLAZY=1 /opt/perl5/perls/perl-5.16.3/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01-core.t .................... ok
t/010-serializer.t ............. ok
t/012-cloneable.t .............. ok
t/013-array-deserialization.t .. ok
t/014_UNIVERSAL_use.t .......... ok
t/015_UNIVERSAL_can.t .......... ok
t/02-payload.t ................. ok
t/03-server.t .................. ok
t/04-attach-cid-encoded.t ...... skipped: Could not find MIME::Parser - is MIME::Tools installed? Aborting.
t/04-attach.t .................. skipped: Could not find MIME::Parser - is MIME::Tools installed? Aborting.
t/05-customxml.t ............... ok
t/06-modules.t ................. ok
t/08-schema.t .................. ok
t/096_characters.t ............. skipped: (no reason given)
t/097_kwalitee.t ............... skipped: (no reason given)
t/098_pod.t .................... skipped: (no reason given)
t/099_pod_coverage.t ........... skipped: (no reason given)
t/11-cgi.t ..................... skipped: 200 OK
t/12-cgi_https.t ............... skipped: 500 Can't connect to localhost:443 (certificate verify failed)
t/13-mod_perl.t ................ Perl SOAP server test(s)...
Use of uninitialized value in string eq at /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Test.pm line 68.
t/13-mod_perl.t ................ 1/53 # Failed test 1 in /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Test.pm at line 68
# /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Test.pm line 68 is: ok($s->getStateName(1)->result eq 'Alabama');
Use of uninitialized value in pattern match (m//) at /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Test.pm line 69.
# Failed test 2 in /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Test.pm at line 69
# /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Test.pm line 69 is: ok($s->getStateNames(1,4,6,13)->result =~ /^Alabama\s+Arkansas\s+Colorado\s+Illinois\s*$/);
# Failed test 3 in /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Test.pm at line 72
# /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Test.pm line 72 is: ok(ref $r && $r->[0] eq 'Alabama');
# Failed test 4 in /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Test.pm at line 75
# /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Test.pm line 75 is: ok(ref $r && $r->{item2} eq 'Arkansas');
Use of uninitialized value in string eq at /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Test.pm line 80.
# Failed test 5 in /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Test.pm at line 80
# /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Test.pm line 80 is: ok($s->getStateName(1) eq 'Alabama');
Autobinding of output parameters test(s)...
Use of uninitialized value $result in numeric eq (==) at /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Test.pm line 90.
t/13-mod_perl.t ................ 6/53 # Failed test 6 in /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Test.pm at line 90
# /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Test.pm line 90 is: ok($result == $param1 && $param2->value == 24);
Header manipulation test(s)...
# Failed test 7 in /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Test.pm at line 94
# /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Test.pm line 94 is: ok(ref $a->header && $a->header->{my} eq '123123');
Use of uninitialized value in string eq at /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Test.pm line 95.
# Failed test 8 in /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Test.pm at line 95
# /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Test.pm line 95 is: ok($a->headers eq '123123');
Echo untyped data test(s)...
Use of uninitialized value in numeric eq (==) at /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Test.pm line 99.
# Failed test 9 in /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Test.pm at line 99
# /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Test.pm line 99 is: ok($a->result == 11);
mustUnderstand test(s)...
Use of uninitialized value $_[0] in pattern match (m//) at /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Lite.pm line 340.
Use of uninitialized value in sprintf at /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Lite.pm line 3612.
t/13-mod_perl.t ................ 10/53 # Failed test 10 in /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Test.pm at line 104
# /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Test.pm line 104 is: ok($s->call->faultstring =~ /[Hh]eader has mustUnderstand attribute/);
Use of uninitialized value $_[0] in pattern match (m//) at /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Lite.pm line 340.
Use of uninitialized value in sprintf at /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Lite.pm line 3612.
# Failed test 12 in /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Test.pm at line 115
# /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Test.pm line 115 is: ok(!defined $s->call->fault);
dispatch_from test(s)...
Use of uninitialized value $_[0] in pattern match (m//) at /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Lite.pm line 340.
Use of uninitialized value in sprintf at /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Lite.pm line 3612.
# Failed test 14 in /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Test.pm at line 128
# /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Test.pm line 128 is: ok(!$@ && SOAP::Lite->self->call->faultstring =~ /Failed to access class \(A\)/);
Use of uninitialized value $_[0] in pattern match (m//) at /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Lite.pm line 340.
Use of uninitialized value in sprintf at /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Lite.pm line 3612.
# Failed test 15 in /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Test.pm at line 137
# /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Test.pm line 137 is: ok(!$@ && SOAP::Lite->self->call->faultstring =~ /Failed to access class \(A\)/);
Object autobinding and SOAP:: prefix test(s)...
Illegal namespace identifier '' for URN 'urn:' at /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Lite.pm line 3463.
Illegal namespace identifier '/a/b' for URN 'urn:/A/B' at /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Lite.pm line 3463.
# Failed test 18 in /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Test.pm at line 154
# /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Test.pm line 154 is: ok(ref $p && $p->SOAP::next+1 == $p->value);
Illegal namespace identifier '/my/pingpong' for URN 'urn:/My/PingPong' at /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Lite.pm line 3463.
# Failed test 19 in /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Test.pm at line 166
# /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Test.pm line 166 is: ok(ref $p && $s->SOAP::next($p)+1 == $p->value);
VersionMismatch test(s)...
Objects-by-reference test(s)...
Session iterator
# Failed test 21 in /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Test.pm at line 188
# /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Test.pm line 188 is: if (!ref $r || exists $r->{id}) {
Persistent iterator
Illegal namespace identifier '/my/sessioniterator' for URN 'urn:/My/SessionIterator' at /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Lite.pm line 3463.
Illegal namespace identifier '/my/persistentiterator' for URN 'urn:/My/PersistentIterator' at /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Lite.pm line 3463.
# Failed test 22 in /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Test.pm at line 200
# /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Test.pm line 200 is: ok(ref $r && $r->next && $r->next == $first+2);
Parameters-by-name test(s)...
Use of inherited AUTOLOAD for non-method main::byname() is deprecated at /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Test.pm line 219.
# Failed test 23 in /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Test.pm at line 219
# /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Test.pm line 219 is: ok(main::byname(@parameters) eq "a=111, b=222, c=333");
Use of inherited AUTOLOAD for non-method main::bynameororder() is deprecated at /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Test.pm line 221.
# Failed test 24 in /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Test.pm at line 221
# /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Test.pm line 221 is: ok(main::bynameororder(@parameters) eq "a=111, b=222, c=333");
Use of inherited AUTOLOAD for non-method main::bynameororder() is deprecated at /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Test.pm line 223.
# Failed test 25 in /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Test.pm at line 223
# /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Test.pm line 223 is: ok(main::bynameororder(111, 222, 333) eq "a=111, b=222, c=333");
Function call test(s)...
Use of inherited AUTOLOAD for non-method main::echo() is deprecated at /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Test.pm line 227.
t/13-mod_perl.t ................ 26/53 # Failed test 26 in /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Test.pm at line 227
# /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Test.pm line 227 is: ok(main::echo(11) == 11);
SOAPAction test(s)...
Deep recursion on subroutine "SOAP::Cloneable::clone" at /home/operations/.cpanm/work/1397848839.29729/SOAP-Lite-1.11/blib/lib/SOAP/Lite.pm line 421.