Skip Menu |

This queue is for tickets about the Const-Fast CPAN distribution.

Report information
The Basics
Id: 67662
Status: rejected
Priority: 0/
Queue: Const-Fast

People
Owner: Nobody in particular
Requestors: Sorin.Panca [...] Yardi.Com
Cc:
AdminCc:

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



Subject: Memory leak in Const::Fast 0.007 with perl-5.12.2 on Gentoo Linux ~amd64
Date: Thu, 21 Apr 2011 12:30:58 +0000
To: "bug-Const-Fast [...] rt.cpan.org" <bug-Const-Fast [...] rt.cpan.org>
From: Sorin Panca <Sorin.Panca [...] Yardi.Com>
Hello, I installed Const::Fast 0.007 using cpan install. Const-Fast-0.006 works properly. # perl -V Summary of my perl5 (revision 5 version 12 subversion 3) configuration: Platform: osname=linux, osvers=2.6.37-gentoo, archname=x86_64-linux uname='linux scripts1-cluj 2.6.37-gentoo #2 smp tue feb 22 15:18:25 eet 2011 x86_64 intel(r) xeon(r) cpu x5550 @ 2.67ghz genuineintel gnulinux ' config_args='-des -Duseshrplib -Darchname=x86_64-linux -Dcc=x86_64-pc-linux-gnu-gcc -Doptimize=-O2 -pipe -Dldflags=-Wl,-O1 -Wl,--as-needed -Dprefix=/usr -Dsiteprefix=/usr -Dvendorprefix=/usr -Dscriptdir=/usr/bin -Dprivlib=/usr/lib64/perl5/5.12.3 -Darchlib=/usr/lib64/perl5/5.12.3/x86_64-linux -Dsitelib=/usr/lib64/perl5/site_perl/5.12.3 -Dsitearch=/usr/lib64/perl5/site_perl/5.12.3/x86_64-linux -Dvendorlib=/usr/lib64/perl5/vendor_perl/5.12.3 -Dvendorarch=/usr/lib64/perl5/vendor_perl/5.12.3/x86_64-linux -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dsiteman1dir=/usr/share/man/man1 -Dsiteman3dir=/usr/share/man/man3 -Dvendorman1dir=/usr/share/man/man1 -Dvendorman3dir=/usr/share/man/man3 -Dman1ext=1 -Dman3ext=3pm -Dlibperl=libperl.so.5.12.3 -Dlocincpth= -Duselargefiles -Dd_semctl_semun -Dcf_by=Gentoo -Dmyhostname=localhost -Dperladmin=root@localhost -Dinstallusrbinperl=n -Ud_csh -Uusenm -Di_ndbm -Di_gdbm -Di_db -DDEBUGGING=none -Dinc_version_list=5.12.2/x86_64-linux 5.12.2 5.12.1/x86_64-linux 5.12.1 5.12.0/x86_64-linux 5.12.0 -Dlibpth=/usr/local/lib64 /lib64 /usr/lib64' 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='x86_64-pc-linux-gnu-gcc', ccflags ='-fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2 -pipe', cppflags='-fno-strict-aliasing -pipe' ccversion='', gccversion='4.4.4', 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='x86_64-pc-linux-gnu-gcc', ldflags ='-Wl,-O1 -Wl,--as-needed' libpth=/usr/local/lib64 /lib64 /usr/lib64 libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc -lgdbm_compat perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc libc=/lib/libc-2.13.so, so=so, useshrplib=true, libperl=libperl.so.5.12.3 gnulibc_version='2.13' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fPIC', lddlflags='-shared -O2 -pipe -Wl,-O1 -Wl,--as-needed' Characteristics of this binary (from libperl): Compile-time options: PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP USE_64_BIT_ALL USE_64_BIT_INT USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF Locally applied patches: 0001-gentoo_MakeMaker-RUNPATH.diff 0002-gentoo_config_over.diff 0003-gentoo_cpan_definstalldirs.diff 0004-gentoo_cpanplus_definstalldirs.diff 0005-gentoo_create-libperl-soname.diff 0006-gentoo_MakeMaker-delete_packlist.diff 0007-fixes_8d66b3f9_h2hp_fix.diff 0008-fixes_f178b03b_h2ph_using_deprecated_goto.diff 0009-gentoo_mod-paths.diff 0010-gentoo_enc2xs.diff 0011-gentoo_IO-Compress_AutoLoader_dropped_from_Compress-Zlib.diff 0012-gentoo_drop-fstack-protector.diff Built under linux Compiled at Mar 15 2011 17:01:53 %ENV: @INC: /etc/perl /usr/lib64/perl5/site_perl/5.12.3/x86_64-linux /usr/lib64/perl5/site_perl/5.12.3 /usr/lib64/perl5/vendor_perl/5.12.3/x86_64-linux /usr/lib64/perl5/vendor_perl/5.12.3 /usr/lib64/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.12.2/x86_64-linux /usr/lib64/perl5/vendor_perl/5.12.2 /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.12.3/x86_64-linux /usr/lib64/perl5/5.12.3 /usr/local/lib/site_perl # uname -a Linux zero 2.6.38-gentoo #1 SMP Wed Mar 23 20:53:59 EET 2011 x86_64 Intel(R) Xeon(R) CPU X5550 @ 2.67GHz GenuineIntel GNU/Linux How to reproduce: 1. Create a file ./const-fast-test.pl: use Const::Fast; 2. perl -c ./const-fast-test.pl Actual results: watch system memory usage rapidly increasing for the perl process running const-fast-test.pl Expected results: The following output: Syntax OK. Other cpan and system provided perl modules work without problems on all our systems. Currently, we are using Const-Fast-0.006 without problems. Regards, -- Sorin Pânca The Systems Administrators Team www.PropertYShark.com www.Yardi.com

Message body is not shown because it is too large.

On Thu Apr 21 08:31:10 2011, Sorin.Panca@Yardi.Com wrote: Show quoted text
> # uname -a > Linux zero 2.6.38-gentoo #1 SMP Wed Mar 23 20:53:59 EET 2011 x86_64 > Intel(R) Xeon(R) CPU X5550 @ 2.67GHz GenuineIntel GNU/Linux > > How to reproduce: > > 1. Create a file > ./const-fast-test.pl: > use Const::Fast; > > 2. perl -c ./const-fast-test.pl > > Actual results: > watch system memory usage rapidly increasing for the perl process > running const-fast-test.pl > > Expected results: > The following output: > Syntax OK. > > Other cpan and system provided perl modules work without problems on > all our systems. > Currently, we are using Const-Fast-0.006 without problems. > > Regards,
I can not reproduce this issue based on this report. Can you give me more information? One important difference between Const::Fast 0.006 and 0.007 is that it now depends on Storable for some cornercases, could it be your Storable is miscompiled somehow? Leon
On Fri May 13 07:19:51 2011, LEONT wrote: Show quoted text
> I can not reproduce this issue based on this report. Can you give me > more information? > > One important difference between Const::Fast 0.006 and 0.007 is that it > now depends on Storable for some cornercases, could it be your Storable > is miscompiled somehow?
Without a reply, without being able to reproduce this, and given the likelihood the issue is somewhere else, I'm closing this bugreport. Feel free to reopen if you can give me a more solid testcase. Leon