This is the mail archive of the
mailing list for the glibc project.
- From: Bruno Haible <haible at ilog dot fr>
- To: libc-alpha at sources dot redhat dot com
- Date: Mon, 4 Feb 2002 12:49:14 +0100 (CET)
- Subject: dlopen busy-loops
With glibc-2002-01-15, the following program loops eating CPU time.
======================== a.c ================================
int main ()
dlopen ("gnu-gettext-GetURL$1", RTLD_GLOBAL | RTLD_LAZY);
$ gcc a.c -ldl
This occurs when gij (from gcc-3.0.3) attempts to load class
gnu.gettext.GetURL. gij first attempts to locate it in a shared library
before searching in the jar file.
The loop was in a line calling _dl_dst_count. Maybe you already fixed
it two days ago; in that case, feel free to add this program to the