This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/3142] New: Bad interaction between dlclose() and C++ static object destructors
- From: "jjk at acm dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 28 Aug 2006 11:16:34 -0000
- Subject: [Bug libc/3142] New: Bad interaction between dlclose() and C++ static object destructors
- Reply-to: sourceware-bugzilla at sourceware dot org
When the destructor of a static C++ object within a shared library that is being
unloaded, itself creates another static C++ object, the destructor for the
second object will be called only after the shared library has been unmapped,
causing a crash.
Reproduced in RedHat Enterprise Linux 3 (g++ 3.2.3, glibc 2.3.2) and RHEL 4 (g++
3.4.5, glibc 2.3.4).
--
Summary: Bad interaction between dlclose() and C++ static object
destructors
Product: glibc
Version: 2.3.2
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: jjk at acm dot org
CC: glibc-bugs at sources dot redhat dot com
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://sourceware.org/bugzilla/show_bug.cgi?id=3142
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.