Bug 632936

Summary: memory leak at dlopen/dlclose reported by valgrind
Product: [Fedora] Fedora Reporter: Enrique <cquike>
Component: glibcAssignee: Andreas Schwab <schwab>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: fweimer, jakub, schwab
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: glibc-2.12.90-14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-09-30 06:15:55 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:
Attachments:
Description Flags
Simple use of ltopen/ltclose none

Description Enrique 2010-09-12 02:01:33 UTC
Created attachment 446712 [details]
Simple use of ltopen/ltclose

Description of problem:

  Using the dlopem/dlclose mechanism leads to a memory leak detected by valgrind. I attach a code snippet.

How reproducible:

 Always. 

Steps to Reproduce:
1. Compile the code snippet:
      g++ -o lt lt.cpp -ldl
2. Run valgrind:
      valgrind --leak-check=full --show-reachable=yes --trace-children=yes ./lt
3. Check the valgrind report ("still reachable: 56 bytes in 1 blocks")

Comment 1 Fedora Update System 2010-09-27 15:49:04 UTC
glibc-2.12.90-13 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/glibc-2.12.90-13

Comment 2 Fedora Update System 2010-09-27 20:07:32 UTC
glibc-2.12.90-13 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update glibc'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/glibc-2.12.90-13

Comment 3 Fedora Update System 2010-09-28 17:32:16 UTC
glibc-2.12.90-14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update glibc'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/glibc-2.12.90-14

Comment 4 Fedora Update System 2010-09-30 06:15:31 UTC
glibc-2.12.90-14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Enrique 2011-05-20 14:05:12 UTC
 Just for the record, I tried in Fedora 14 and the bug has been fixed.
 Thank you.