Skip Menu |

This queue is for tickets about the CPANPLUS CPAN distribution.

Report information
The Basics
Id: 22460
Status: resolved
Priority: 0/
Queue: CPANPLUS

People
Owner: Nobody in particular
Requestors: jon [...] jrock.us
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



CC: kane [...] cpan.org
Subject: CPANPLUS uses all available memory during make test
Date: Mon, 23 Oct 2006 02:42:01 -0500
To: bug-CPANPLUS [...] rt.cpan.org
From: Jonathan Rockway <jon [...] jrock.us>
The CPANPLUS test suite eats all available memory on my system. The machine is a Powerbook running Linux (kubuntu / PPC). I can't reproduce this on my i386 Debian (perl 5.8.8) machine, though; only on the PPC. Here are the details: Running make for K/KA/KANE/CPANPLUS-0.076.tar.gz Is already unwrapped into directory /home/jon/.cpan/build/CPANPLUS-0.076 CPAN.pm: Going to build K/KA/KANE/CPANPLUS-0.076.tar.gz ... /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/00_CPANPLUS-Inc....................ok t/00_CPANPLUS-Internals-Utils........ok t/01_CPANPLUS-Configure..............ok t/02_CPANPLUS-Internals..............ok t/03_CPANPLUS-Internals-Source.......ok t/04_CPANPLUS-Module.................ok 11/84 skipped: various reasons t/05_CPANPLUS-Internals-Fetch........ok t/06_CPANPLUS-Internals-Constants....ok t/07_CPANPLUS-Internals-Extract......ok t/08_CPANPLUS-Backend................ok 1/0Deep recursion on subroutine "Object::Accessor::AUTOLOAD" at /home/jon/.cpan/build/CPANPLUS-0.076/t/../lib/CPANPLUS/Backend/RV.pm line 113. Deep recursion on subroutine "Object::Accessor::___autoload" at /usr/local/share/perl/5.8.7/Object/Accessor.pm line 408. Deep recursion on subroutine "CPANPLUS::Backend::RV::_ok" at /usr/local/share/perl/5.8.7/Object/Accessor.pm line 476. Out of memory! $ perl -V Summary of my perl5 (revision 5 version 8 subversion 7) configuration: Platform: osname=linux, osvers=2.6.12, archname=powerpc-linux-gnu-thread-multi uname='linux royal 2.6.12 #1 smp tue aug 23 21:10:45 utc 2005 ppc gnulinux ' config_args='-Dusethreads -Duselargefiles -Dccflags=-DDEBIAN -Dcccdlflags=-fPIC -Darchname=powerpc-linux-gnu -Dprefix=/usr -Dprivlib=/usr/share/perl/5.8 -Darchlib=/usr/lib/perl/5.8 -Dvendorprefix=/usr -Dvendorlib=/usr/share/perl5 -Dvendorarch=/usr/lib/perl5 -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl/5.8.7 -Dsitearch=/usr/local/lib/perl/5.8.7 -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dsiteman1dir=/usr/local/man/man1 -Dsiteman3dir=/usr/local/man/man3 -Dman1ext=1 -Dman3ext=3perl -Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Uusesfio -Uusenm -Duseshrplib -Dlibperl=libperl.so.5.8.7 -Dd_dosuid -des' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef 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_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2', cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include' ccversion='', gccversion='4.0.3 20051204 (prerelease) (Ubuntu 4.0.2-5ubuntu2)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='cc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lgdbm -lgdbm_compat -ldb -ldl -lm -lpthread -lc -lcrypt perllibs=-ldl -lm -lpthread -lc -lcrypt libc=/lib/libc-2.3.5.so, so=so, useshrplib=true, libperl=libperl.so.5.8.7 gnulibc_version='2.3.5' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT Locally applied patches: SPRINTF0 - fixes for sprintf formatting issues - CVE-2005-3962 Built under linux Compiled at Dec 16 2005 08:01:18 @INC: /etc/perl /usr/local/lib/perl/5.8.7 /usr/local/share/perl/5.8.7 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl . -- package JAPH;use Catalyst qw/-Debug/;($;=JAPH)->config(name => do { $,.=reverse qw[Jonathan tsu rehton lre rekca Rockway][$_].[split //, ";$;"]->[$_].q; ;for 1..4;$,=~s;^.;;;$,});$;->setup;
Subject: Re: [rt.cpan.org #22460] CPANPLUS uses all available memory during make test
Date: Mon, 23 Oct 2006 10:38:41 +0200 (CEST)
To: bug-CPANPLUS [...] rt.cpan.org
From: "Jos Boumans" <kane [...] xs4all.net>
Show quoted text
> The CPANPLUS test suite eats all available memory on my system. The > machine > is a Powerbook running Linux (kubuntu / PPC). I can't reproduce this on > my > i386 Debian (perl 5.8.8) machine, though; only on the PPC.
[...] Show quoted text
> t/08_CPANPLUS-Backend................ok 1/0Deep recursion on > subroutine "Object::Accessor::AUTOLOAD" > at /home/jon/.cpan/build/CPANPLUS-0.076/t/../lib/CPANPLUS/Backend/RV.pm > line > 113. > Deep recursion on subroutine "Object::Accessor::___autoload" > at /usr/local/share/perl/5.8.7/Object/Accessor.pm line 408. > Deep recursion on subroutine "CPANPLUS::Backend::RV::_ok" > at /usr/local/share/perl/5.8.7/Object/Accessor.pm line 476. > Out of memory!
This is a known issue, and fixed in 0.077_02, which is available from CPAN. If you upgrade Object::Accessor to a version not equal to 0.30 (0.32 is on the CPAN), the problem will be solved. It's an issue with how overloaded objects fall back to boolean overloading on stringification. -- Jos