This is the mail archive of the glibc-bugs@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/311] dlclose doesn't close all dependent libraries


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]