Bug 787613 - Memory leak evaluating version objects in boolean context
Summary: Memory leak evaluating version objects in boolean context
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: perl
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Pisar
QA Contact: Fedora Extras Quality Assurance
URL: https://rt.perl.org/rt3/Public/Bug/Di...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-06 10:27 UTC by Petr Pisar
Modified: 2012-02-23 02:25 UTC (History)
9 users (show)

Fixed In Version: perl-5.14.2-195.fc16
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-23 02:23:08 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Upstream fix ported to 5.14.2 (1.36 KB, patch)
2012-02-06 16:04 UTC, Petr Pisar
no flags Details | Diff
Upstream fix ported to 5.12.4 (842 bytes, patch)
2012-02-07 17:04 UTC, Petr Pisar
no flags Details | Diff

Description Petr Pisar 2012-02-06 10:27:04 UTC
Running following code with perl-5.14.2-194.fc16.x86_64 leaks memory:

$ perl -Mversion -wE 'while (1) { my $v = version->new("1.23"); my $b = !!$v }

This is should be fixed by commit bcb2959f0 in upstream.

Comment 1 Petr Pisar 2012-02-06 16:04:22 UTC
Created attachment 559669 [details]
Upstream fix ported to 5.14.2

Comment 2 Petr Pisar 2012-02-06 16:16:10 UTC
Fixed as perl-5.14.2-211.fc17 in F17.

Comment 3 Petr Pisar 2012-02-07 15:49:37 UTC
F16 affected.
F15 affected.

Comment 4 Fedora Update System 2012-02-07 16:47:41 UTC
perl-5.14.2-195.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/perl-5.14.2-195.fc16

Comment 5 Petr Pisar 2012-02-07 17:04:01 UTC
Created attachment 560014 [details]
Upstream fix ported to 5.12.4

Comment 6 Fedora Update System 2012-02-07 17:27:08 UTC
perl-5.12.4-165.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/perl-5.12.4-165.fc15

Comment 7 Fedora Update System 2012-02-08 02:26:15 UTC
Package perl-5.14.2-195.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing perl-5.14.2-195.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-1429/perl-5.14.2-195.fc16
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2012-02-23 02:23:08 UTC
perl-5.12.4-165.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2012-02-23 02:25:03 UTC
perl-5.14.2-195.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.