This is the mail archive of the libc-help@sourceware.org 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]

dlclose() doesn't call dtor for some .so files


Hello,

I am using two different 64 bit systems, both RedHat flavored.

One is Scientific Linux 6 :

$ rpm -qa | grep glibc
glibc-2.12-1.47.el6_2.9.x86_64

$ uname -r
2.6.32-220.23.1.el6.x86_64

The other is Fedora 17 :

$ rpm -qa | grep glibc
glibc-2.15-37.fc17.x86_64

$ uname -r
3.4.4-5.fc17.x86_64

I am running into the same problem described in the following thread :

http://gcc.gnu.org/ml/gcc-help/2011-05/msg00403.html

The destructor doesn't get called when the library is dlclose()'d.

The linked thread suggests that this may be a glibc issue.

Regards,
John


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