[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]

[perl #59994] memory leak when using the qr operator



# New Ticket Created by  Roland Illig 
# Please include the string:  [perl #59994]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=59994 >


This is a bug report for perl from roland@bacc.roland-illig.de,
generated with the help of perlbug 1.36 running under perl 5.10.0.


-----------------------------------------------------------------
[Please enter your report here]

On Ubuntu 8.04, there is a memory leak in Perl 5.10, which doesn't occur
with Perl 5.8.8.

Simply run perl -e 'while(1){ qr"" }'

[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
    category=core
    severity=medium
---
Site configuration information for perl 5.10.0:

Configured by roland at Sun Oct 19 17:14:43 CEST 2008.

Summary of my perl5 (revision 5 version 10 subversion 0) configuration:
  Platform:
    osname=linux, osvers=2.6.24-21-generic,
archname=x86_64-linux-thread-multi
    uname='linux bacc 2.6.24-21-generic #1 smp mon aug 25 16:57:51 utc
2008 x86_64 gnulinux '
    config_args='-sde -Darchname=x86_64-linux -Dcc=gcc -Doptimize=-O2
-Wno-format -fno-builtin -pthread -I/usr/include -Ui_malloc
-Uusemymalloc -Uinstallusrbinperl -Dinstallstyle=lib/perl5
-Dprefix=/home/roland/pkg-perl5.10
-Dsiteprefix=/home/roland/pkg-perl5.10
-Dvendorprefix=/home/roland/pkg-perl5.10
-Dscriptdir=/home/roland/pkg-perl5.10/lib/perl5/bin
-Dsitescript=/home/roland/pkg-perl5.10/lib/perl5/site_perl/bin
-Dvendorscript=/home/roland/pkg-perl5.10/lib/perl5/vendor_perl/bin
-Dsitebin=/home/roland/pkg-perl5.10/lib/perl5/site_perl/bin
-Dvendorbin=/home/roland/pkg-perl5.10/lib/perl5/vendor_perl/bin
-Dprivlib=/home/roland/pkg-perl5.10/lib/perl5/5.10.0
-Dsitelib=/home/roland/pkg-perl5.10/lib/perl5/site_perl/5.10.0
-Dvendorlib=/home/roland/pkg-perl5.10/lib/perl5/vendor_perl/5.10.0
-Dsitelib_stem=/home/roland/pkg-perl5.10/lib/perl5/site_perl
-Dvendorlib_stem=/home/roland/pkg-perl5.10/lib/perl5/vendor_perl
-Dman1ext=1 -Dman1dir=/home/roland/pkg-perl5.10/lib/perl5/man/man1
-Dsiteman1dir=/home/roland/pkg-perl5.10/lib/perl5/site_perl/man/man1
-Dvendorman1dir=/home/roland/pkg-perl5.10/lib/perl5/vendor_perl/man/man1
-Dman3ext=3 -Dman3dir=/home/roland/pkg-perl5.10/lib/perl5/man/man3
-Dsiteman3dir=/home/roland/pkg-perl5.10/lib/perl5/site_perl/man/man3
-Dvendorman3dir=/home/roland/pkg-perl5.10/lib/perl5/vendor_perl/man/man3
-Duseshrplib -Daphostname=/bin/hostname -Dln=/bin/ln -Dsed=/bin/sed
-Dsh=/bin/bash -Dissymlink=test -h -Dperl5=false -Duseithreads
-Dlibswanted=m crypt dl nsl pthread rt'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=define, use64bitall=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing
-pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O2 -Wno-format -fno-builtin -pthread -I/usr/include',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe'
    ccversion='', gccversion='4.2.3 (Ubuntu 4.2.3-2ubuntu7)',
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='gcc', ldflags ='-Wl,-R/home/roland/pkg-perl5.10/lib '
    libpth=/lib /usr/lib /usr/local/lib /lib64 /usr/lib64
    libs=-lm -lcrypt -ldl -lnsl -lpthread -lrt
    perllibs=-lm -lcrypt -ldl -lnsl -lpthread -lrt
    libc=/lib/libc-2.7.so, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version='2.7'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E
-Wl,-rpath,/home/roland/pkg-perl5.10/lib/perl5/5.10.0/x86_64-linux-thread-multi/CORE'
    cccdlflags='-fPIC', lddlflags='-Wl,-R/home/roland/pkg-perl5.10/lib
-shared -O2 -Wno-format -fno-builtin -pthread -I/usr/include'

Locally applied patches:


---
@INC for perl 5.10.0:

/home/roland/pkg-perl5.10/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi
    /home/roland/pkg-perl5.10/lib/perl5/site_perl/5.10.0

/home/roland/pkg-perl5.10/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi
    /home/roland/pkg-perl5.10/lib/perl5/vendor_perl/5.10.0
    /home/roland/pkg-perl5.10/lib/perl5/vendor_perl
    /home/roland/pkg-perl5.10/lib/perl5/5.10.0/x86_64-linux-thread-multi
    /home/roland/pkg-perl5.10/lib/perl5/5.10.0
    .

---
Environment for perl 5.10.0:
    HOME=/home/roland
    LANG=de_DE.UTF-8
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)

PATH=/home/roland/bin:/home/roland/usr.local/bin:/home/roland/usr.local/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/pkg/bin:/usr/pkg/sbin
    PERL_BADLANG (unset)
    SHELL=/bin/bash


[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]