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.