[Bug 388174] New: dlopen/dlclose memory leak on load of depending libraries
https://bugzilla.novell.com/show_bug.cgi?id=388174 Summary: dlopen/dlclose memory leak on load of depending libraries Product: openSUSE 10.3 Version: Final Platform: i686 OS/Version: openSUSE 10.3 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: joern.padeken@dsa-ac.de QAContact: qa@suse.de Found By: Component Test Created an attachment (id=213493) --> (https://bugzilla.novell.com/attachment.cgi?id=213493) C-source of demonstation program dlopen()/dlclose() leak memory when loading a dynamic library, that requires further dynamic libraries to be loaded (i.e. libcups.so.2 requires libssl.so, libcrypto.so, libdl.so, ... to be loaded). The memory allocated in .../BUILD/glibc-2.6.1/"elf/dl-load.c, line 1476: /* Create an appropriate searchlist. It contains only this map. This is the definition of DT_SYMBOLIC in SysVr4. */ l->l_symbolic_searchlist.r_list = (struct link_map **) malloc (sizeof (struct link_map *)); is never freed. I initially found this behavior on a SLES-9 System with glibc-2.3.3-98.73 and found it on openSUSE-10.3 with glibc-2.6.1-18 too. My old SuSE-7 with glibc-2.2 does not have this problem. I attached a small program to demonstrate. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=388174 Andreas Jaeger <aj@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |pbaudis@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=388174 User joern.padeken@dsa-ac.de added comment https://bugzilla.novell.com/show_bug.cgi?id=388174#c1 --- Comment #1 from Jörn Padeken <joern.padeken@dsa-ac.de> 2008-10-06 05:12:56 MDT --- seems to be fixed with http://sourceware.org/cgi-bin/cvsweb.cgi/libc/elf/dl-load.c.diff?r1=1.289&r2=1.290&cvsroot=glibc -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com