Bug 632936 - memory leak at dlopen/dlclose reported by valgrind
Summary: memory leak at dlopen/dlclose reported by valgrind
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: glibc
Version: 13
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Andreas Schwab
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-09-12 02:01 UTC by Enrique
Modified: 2016-11-24 16:04 UTC (History)
3 users (show)

Fixed In Version: glibc-2.12.90-14
Clone Of:
Environment:
Last Closed: 2010-09-30 06:15:55 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Simple use of ltopen/ltclose (566 bytes, text/x-c++src)
2010-09-12 02:01 UTC, Enrique
no flags Details

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.


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