This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/2377] New: Deadlock between dlclose and c++ exception/unwind
- From: "sjmunroe at us dot ibm dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 21 Feb 2006 16:52:41 -0000
- Subject: [Bug libc/2377] New: Deadlock between dlclose and c++ exception/unwind
- Reply-to: sourceware-bugzilla at sourceware dot org
In this case an application is calling a library via dlopen/dlsym/dlclose. This
library created a service thread that it needs to terminate when dlclose is
called. But if the service thread takes an exception after the call to dlclose
and the libraries call to pthread_join then the service thread will hang in the
unwind code and the join will never complete.
--
Summary: Deadlock between dlclose and c++ exception/unwind
Product: glibc
Version: unspecified
Status: NEW
Severity: critical
Priority: P1
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: sjmunroe at us dot ibm dot com
CC: glibc-bugs at sources dot redhat dot com
GCC build triplet: powerpc-linux
GCC host triplet: powerpc64-linux
GCC target triplet: powerpc-linux
http://sourceware.org/bugzilla/show_bug.cgi?id=2377
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.