This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/3112] New: sysdeps/i386/backtrace.c:init dlopens libgcc_s.so but does not close it resulting in memory leaks
- From: "bt-sources-redhat-com at c0ffee dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 23 Aug 2006 15:50:07 -0000
- Subject: [Bug libc/3112] New: sysdeps/i386/backtrace.c:init dlopens libgcc_s.so but does not close it resulting in memory leaks
- Reply-to: sourceware-bugzilla at sourceware dot org
The init function in the i386 version of backtrace opens the libgcc_s.so, but
does not close it anywhere, which is reported as memory leak by e.g. valgrind.
A minimal test case is the backtrace example from the libc info pages.
A possible solution would be to add a hook to __libc_subfreeres that frees the
allocated resources.
--
Summary: sysdeps/i386/backtrace.c:init dlopens libgcc_s.so but
does not close it resulting in memory leaks
Product: glibc
Version: unspecified
Status: NEW
Severity: minor
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: bt-sources-redhat-com at c0ffee dot org
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=3112
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.