Bug 489204

Summary: Memory leak with regex in 5.10.0
Product: [Fedora] Fedora Reporter: smallpond
Component: perlAssignee: Marcela Mašláňová <mmaslano>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 10CC: kasal, mmaslano, rc040203, robin.norwood, tcallawa
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 5.10.0-68.fc10 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-03-24 14:48:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description smallpond 2009-03-08 15:59:53 UTC
Description of problem:

A memory leak which was reported fixed in perl 5.10.0.17, Oct 2008,
http://rt.perl.org/rt3/Public/Bug/Display.html?id=59516
still exists in the Fedora 10 rpm.
The problem is with non-constant regexes that use single-character classes.

Version-Release number of selected component (if applicable):

perl-5.10.0-56.fc10.i386 built 16 Feb 2009

How reproducible:

easily.

Steps to Reproduce:
1. Run the program on the linked page.
2. Watch with ps.
  
Actual results:

Memory usage grows continually.

Expected results:

Memory usage stays more-or-less constant.

Additional info:

Comment 1 Marcela Mašláňová 2009-03-11 12:36:29 UTC
Thank you for your report. This fix need to pick up more patches from git. It takes some time.

Comment 2 Tom "spot" Callaway 2009-03-11 18:23:09 UTC
I'm working on this in rawhide, it should be trivial to push the changes back to F-9/F-10.

Comment 3 Tom "spot" Callaway 2009-03-11 22:31:37 UTC
There are patches checked into CVS for this in F-9, F-10, and devel. Updates will have to wait for everyone to be okay with the reordering of @INC (bz 489221).

Comment 4 Fedora Update System 2009-03-23 15:54:40 UTC
perl-5.10.0-42.fc9 has been submitted as an update for Fedora 9.
http://admin.fedoraproject.org/updates/perl-5.10.0-42.fc9

Comment 5 Fedora Update System 2009-03-23 17:22:25 UTC
perl-5.10.0-63.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/perl-5.10.0-63.fc10

Comment 6 Marcela Mašláňová 2009-03-24 14:48:35 UTC
perl-5.10.0-63.fc10  and perl-5.10.0-42.fc9   fix this issue.

Comment 7 Fedora Update System 2009-04-22 00:54:23 UTC
perl-5.10.0-68.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2009-04-22 01:08:03 UTC
perl-5.10.0-68.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.