A small testcase for dlopen bug
H . J . Lu
hjl@lucon.org
Sat Jun 1 09:48:00 GMT 2002
On Sat, Jun 01, 2002 at 09:47:19AM -0700, H . J . Lu wrote:
> 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.
>
>
Oops. Here is the testcase.
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug.tar.gz
Type: application/x-gzip
Size: 1199 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20020601/45e8fa59/attachment.bin>
More information about the Libc-alpha
mailing list