Closed Bug 825431 Opened 12 years ago Closed 12 years ago

List::MoreUtils older than 0.27_04 leaks memory when using part()

Categories

(Bugzilla :: Installation & Upgrading, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 4.4

People

(Reporter: LpSolit, Assigned: LpSolit)

References

()

Details

Attachments

(1 file)

Per https://rt.cpan.org/Public/Bug/Display.html?id=41097, part() from List::MoreUtils older than 0.27_04 badly leaks memory. The XS version of part() has been disabled in 0.27_04 to force using the pure Perl version of part(), and an updated XS version with the memory leak fixed has been re-enabled in 0.31_01. So 0.32 is the first production release with the memory leak fixed. part() is currently used in Bugzilla::Bug::remove_see_also(), so we are affected by this bug. Bumping the min version to 0.32 (instead of the current 0.22) will fix the problem for us. It has been released on May 20 2011, so it should be fine to require it for 4.4.
Attached patch patch, v1Splinter Review
Attachment #696508 - Flags: review?(glob)
Keywords: relnote
Comment on attachment 696508 [details] [diff] [review] patch, v1 r=glob
Attachment #696508 - Flags: review?(glob) → review+
Flags: approval?
Flags: approval?
Flags: approval4.4+
Flags: approval+
Committing to: bzr+ssh://lpsolit%40gmail.com@bzr.mozilla.org/bugzilla/trunk/ modified Bugzilla/Install/Requirements.pm Committed revision 8537. Committing to: bzr+ssh://lpsolit%40gmail.com@bzr.mozilla.org/bugzilla/4.4/ modified Bugzilla/Install/Requirements.pm Committed revision 8492.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Added to relnotes for 4.4rc2.
Keywords: relnote
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: