Red Hat Bugzilla – Bug 489204
Memory leak with regex in 5.10.0
Last modified: 2009-04-21 21:08:44 EDT
Description of problem:
A memory leak which was reported fixed in perl 22.214.171.124, Oct 2008,
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
Steps to Reproduce:
1. Run the program on the linked page.
2. Watch with ps.
Memory usage grows continually.
Memory usage stays more-or-less constant.
Thank you for your report. This fix need to pick up more patches from git. It takes some time.
I'm working on this in rawhide, it should be trivial to push the changes back to F-9/F-10.
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).
perl-5.10.0-42.fc9 has been submitted as an update for Fedora 9.
perl-5.10.0-63.fc10 has been submitted as an update for Fedora 10.
perl-5.10.0-63.fc10 and perl-5.10.0-42.fc9 fix this issue.
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.
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.