This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
A small testcase for dlopen bug
- From: "H . J . Lu" <hjl at lucon dot org>
- To: GNU C Library <libc-alpha at sources dot redhat dot com>
- Date: Sat, 1 Jun 2002 09:47:19 -0700
- Subject: A small testcase for dlopen bug
I finally found a small testcase for the dlopen bug. The problem is
we don't handle circular dependency right in case of relocation error:
./main foo.so 2>&1
Link map:
name = "", count = 0x0
name = "/lib/libdl.so.2", count = 0x4002a000
name = "/lib/i686/libc.so.6", count = 0x0
name = "/lib/ld-linux.so.2", count = 0x40000000
Loading: foo.so: Failed: ðáqBðáqBo: shared object not open
Link map:
name = "", count = 0x0
name = "/lib/libdl.so.2", count = 0x4002a000
name = "/lib/i686/libc.so.6", count = 0x0
name = "/lib/ld-linux.so.2", count = 0x40000000
name = "./libfoo.so", count = 0x4001a000
BTW, Solaris 8 is ok.
H.J.