Bug 489204 - Memory leak with regex in 5.10.0
Summary: Memory leak with regex in 5.10.0
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: perl
Version: 10
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Marcela Mašláňová
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-03-08 15:59 UTC by smallpond
Modified: 2009-04-22 01:08 UTC (History)
5 users (show)

Fixed In Version: 5.10.0-68.fc10
Clone Of:
Environment:
Last Closed: 2009-03-24 14:48:35 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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