[Bug 1062576] New: memory leak when including a file with "use utf8"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1062576

            Bug ID: 1062576
           Summary: memory leak when including a file with "use utf8"
           Product: Fedora
           Version: 19
         Component: perl
          Severity: medium
          Assignee: jplesnik@xxxxxxxxxx
          Reporter: lav@xxxxxxxxxxxxx
        QA Contact: extras-qa@xxxxxxxxxxxxxxxxx
                CC: cweyl@xxxxxxxxxxxxxxx, iarnell@xxxxxxxxx,
                    jplesnik@xxxxxxxxxx, kasal@xxxxxx,
                    perl-devel@xxxxxxxxxxxxxxxxxxxxxxx, ppisar@xxxxxxxxxx,
                    psabata@xxxxxxxxxx, rc040203@xxxxxxxxxx,
                    tcallawa@xxxxxxxxxx



Description of problem:
Every time perl includes a file with "use utf8" and text constants it leaks
memory.


Version-Release number of selected component (if applicable):
perl-5.16.3-266.fc19.x86_64

How reproducible:
always

Steps to Reproduce:
1. run the test program below
2. watch as memory usage grows

Here is the test program:
-------------------------
my $mem = 0;
sub report_memory () {
        my $next_mem = qx[ps -p $$ -o size=]+0;
        printf "%+8d = %8d K\n", $next_mem-$mem, $next_mem; $mem = $next_mem;
}

for (0..1e5) {
        do 'x.inc';
        report_memory unless $_ % 1e4;
}
-------------------------

x.inc contains:
-------------------------
use utf8;
$x='x';
-------------------------

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=l7ghbj1UQE&a=cc_unsubscribe
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux