This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug libc/311] dlclose doesn't close all dependent libraries
- From: "carlo at alinoe dot com" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 17 Aug 2004 14:19:51 -0000
- Subject: [Bug libc/311] dlclose doesn't close all dependent libraries
- References: <20040807212132.311.carlo@alinoe.com>
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
------- Additional Comments From carlo at alinoe dot com 2004-08-17 14:19 -------
Sorry it took so long.
Using LD_DEBUG=all crashed the application, here:
(gdb) bt
#0 0x400115d3 in strlen () from /lib/ld-linux.so.2
#1 0x4000c832 in _dl_debug_vdprintf () from /lib/ld-linux.so.2
#2 0x4000c4c9 in _dl_debug_printf () from /lib/ld-linux.so.2
#3 0x4000bac3 in _dl_signal_cerror () from /lib/ld-linux.so.2
#4 0x40008323 in _dl_lookup_symbol_x () from /lib/ld-linux.so.2
#5 0x4058bffc in do_dlsym () from /lib/tls/libc.so.6
#6 0x00000000 in ?? ()
Not very useful I guess.
I then started to use my libc with debugging symbols, but
that just worked: no crash.
Anyway - I do not understand how to interpret the output.
Some libraries that are loaded and not unloaded aren't even mentioned
in the output.
Can you have a look at the output? The same libraries
as in the initial report are valid - except that now I am using
g++ 3.5 (20040813), so the path of many libs has changed to
/usr/src/install/3.5.0-20040813/ etc.
The output was bzip2-ed and attached as debug.out.bz2.
dlclosing of the "gui" happens at the [...] between the lines
PLUGIN : Entering PluginsManager::unload_plugins... <unfinished>
PLUGIN : Calling PluginFile::dlclose for plugin "gui".
[...]
PLUGIN : <continued> leaving.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
http://sources.redhat.com/bugzilla/show_bug.cgi?id=311
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.