This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: A small testcase for dlopen bug


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.

Attachment: bug.tar.gz
Description: GNU Zip compressed data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]