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]

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.


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