Bug 701632

Summary: Perl threads leak memory when detached
Product: Red Hat Enterprise Linux 5 Reporter: RHEL Program Management <pm-rhel>
Component: perlAssignee: perl-maint-list
Status: CLOSED ERRATA QA Contact: Petr Šplíchal <psplicha>
Severity: high Docs Contact:
Priority: urgent    
Version: 5.4CC: bmason, cww, jpazdziora, jwest, ohudlick, ovasik, plyons, pm-eus, ppisar, psabata, psplicha, rkhadgar, schlichting, spoyarek
Target Milestone: rcKeywords: Patch, ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://rt.perl.org/rt3/Ticket/Display.html?id=80484
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Due to an error in the "threads" module, memory was leaked each time a thread was detached. Over time, this may have caused long-running threaded Perl programs to consume a significant amount of memory. With this update, a patch has been applied to ensure the allocated memory is properly freed when a thread is detached, and using threads in Perl applications no longer leads to memory leaks.
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-09 14:06:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 548249    
Bug Blocks:    

Description RHEL Program Management 2011-05-03 12:20:11 UTC
This bug has been copied from bug #548249 and has been proposed
to be backported to 5.6 z-stream (EUS).

Comment 5 Jaromir Hradilek 2011-05-09 09:29:48 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Due to an error in the "threads" module, memory was leaked each time a thread was detached. Over time, this may have caused long-running threaded Perl programs to consume a significant amount memory. With this update, a patch has been applied to ensure the allocated memory is properly freed when a thread is detached, and using threads in Perl applications no longer leads to memory leaks.

Comment 10 Jaromir Hradilek 2011-06-09 11:15:04 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1 +1 @@
-Due to an error in the "threads" module, memory was leaked each time a thread was detached. Over time, this may have caused long-running threaded Perl programs to consume a significant amount memory. With this update, a patch has been applied to ensure the allocated memory is properly freed when a thread is detached, and using threads in Perl applications no longer leads to memory leaks.+Due to an error in the "threads" module, memory was leaked each time a thread was detached. Over time, this may have caused long-running threaded Perl programs to consume a significant amount of memory. With this update, a patch has been applied to ensure the allocated memory is properly freed when a thread is detached, and using threads in Perl applications no longer leads to memory leaks.

Comment 11 errata-xmlrpc 2011-06-09 14:06:19 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0863.html