This is the mail archive of the glibc-bugs@sourceware.org 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]

[Bug dynamic-link/20105] bad version variable in elf_dynamic_do_Rel() elf/do-rel.h (2.23) causes coredump in dl-machine.h elf_machine_rela()


https://sourceware.org/bugzilla/show_bug.cgi?id=20105

--- Comment #15 from Jason Vas Dias <jason.vas.dias at gmail dot com> ---
The output of running the alias given in previous comment shows the
problem :

$ ooow
PID_FILE: /home/jvd/ooow-2.pid LOG_FILE: /home/jvd/ooow-2.log
[1] 18419
[jvd@jvdlux[LUX-4.4]:~ [4996] 19:13:30 #:39!:7403]
$ /usr/bin/bash: /usr/fw/ooo-4.1.2/opt/openoffice4/program/libxml2.so.2: no
version information available (required by
/mnt/oel7/usr/lib64/libgnomevfs-2.so.0)
/usr/bin/bash: /usr/fw/ooo-4.1.2/opt/openoffice4/program/libxml2.so.2: no
version information available (required by
/mnt/oel7/usr/lib64/libgnomevfs-2.so.0)
/usr/bin/bash: /usr/fw/ooo-4.1.2/opt/openoffice4/program/libxml2.so.2: no
version information available (required by
/mnt/oel7/usr/lib64/libgnomevfs-2.so.0)
uname: /usr/fw/ooo-4.1.2/opt/openoffice4/program/libxml2.so.2: no version
information available (required by /mnt/oel7/usr/lib64/libgnomevfs-2.so.0)
uname: /usr/fw/ooo-4.1.2/opt/openoffice4/program/libxml2.so.2: no version
information available (required by /mnt/oel7/usr/lib64/libgnomevfs-2.so.0)
uname: /usr/fw/ooo-4.1.2/opt/openoffice4/program/libxml2.so.2: no version
information available (required by /mnt/oel7/usr/lib64/libgnomevfs-2.so.0)
uname: /usr/fw/ooo-4.1.2/opt/openoffice4/program/libxml2.so.2: no version
information available (required by /mnt/oel7/usr/lib64/libgnomevfs-2.so.0)
uname: /usr/fw/ooo-4.1.2/opt/openoffice4/program/libxml2.so.2: no version
information available (required by /mnt/oel7/usr/lib64/libgnomevfs-2.so.0)
uname: /usr/fw/ooo-4.1.2/opt/openoffice4/program/libxml2.so.2: no version
information available (required by /mnt/oel7/usr/lib64/libgnomevfs-2.so.0)
sed: /usr/fw/ooo-4.1.2/opt/openoffice4/program/libxml2.so.2: no version
information available (required by /mnt/oel7/usr/lib64/libgnomevfs-2.so.0)
sed: /usr/fw/ooo-4.1.2/opt/openoffice4/program/libxml2.so.2: no version
information available (required by /mnt/oel7/usr/lib64/libgnomevfs-2.so.0)
sed: /usr/fw/ooo-4.1.2/opt/openoffice4/program/libxml2.so.2: no version
information available (required by /mnt/oel7/usr/lib64/libgnomevfs-2.so.0)
sed: /usr/fw/ooo-4.1.2/opt/openoffice4/program/libxml2.so.2: no version
information available (required by /mnt/oel7/usr/lib64/libgnomevfs-2.so.0)
sed: /usr/fw/ooo-4.1.2/opt/openoffice4/program/libxml2.so.2: no version
information available (required by /mnt/oel7/usr/lib64/libgnomevfs-2.so.0)
sed: /usr/fw/ooo-4.1.2/opt/openoffice4/program/libxml2.so.2: no version
information available (required by /mnt/oel7/usr/lib64/libgnomevfs-2.so.0)
sed: /usr/fw/ooo-4.1.2/opt/openoffice4/program/libxml2.so.2: no version
information available (required by /mnt/oel7/usr/lib64/libgnomevfs-2.so.0)
sed: /usr/fw/ooo-4.1.2/opt/openoffice4/program/libxml2.so.2: no version
information available (required by /mnt/oel7/usr/lib64/libgnomevfs-2.so.0)
sed: /usr/fw/ooo-4.1.2/opt/openoffice4/program/libxml2.so.2: no version
information available (required by /mnt/oel7/usr/lib64/libgnomevfs-2.so.0)
cat: /usr/fw/ooo-4.1.2/opt/openoffice4/program/libxml2.so.2: no version
information available (required by /mnt/oel7/usr/lib64/libgnomevfs-2.so.0)
cat: /usr/fw/ooo-4.1.2/opt/openoffice4/program/libxml2.so.2: no version
information available (required by /mnt/oel7/usr/lib64/libgnomevfs-2.so.0)
cat: /usr/fw/ooo-4.1.2/opt/openoffice4/program/libxml2.so.2: no version
information available (required by /mnt/oel7/usr/lib64/libgnomevfs-2.so.0)
readlink: /usr/fw/ooo-4.1.2/opt/openoffice4/program/libxml2.so.2: no version
information available (required by /mnt/oel7/usr/lib64/libgnomevfs-2.so.0)
readlink: /usr/fw/ooo-4.1.2/opt/openoffice4/program/libxml2.so.2: no version
information available (required by /mnt/oel7/usr/lib64/libgnomevfs-2.so.0)
readlink: /usr/fw/ooo-4.1.2/opt/openoffice4/program/libxml2.so.2: no version
information available (required by /mnt/oel7/usr/lib64/libgnomevfs-2.so.0)


These are not output produced by my scripts - they are produced by the 
"link path traversal" scripts of the OOO-4.1.2 soffice.bin installation.

Somehow, on my system, glibc thinks that the openoffice.org freeware binary:
   /usr/fw/ooo-4.1.2/opt/openoffice4/program/libxml2.so.2: no version
has no version information . 

It appears that indeed it does not have version information .

So in fact, the 'map->l_versions' variable MAY be NULL, but my patch (still
applied) is preventing it from coredumping .

I really think the authors of the glibc dynamic linker should rethink handling
of map->l_versions being null fully in both do-rel.h and all the functions that
receive its potentially null version pointer - otherwise I'll have to & will
post patches back here.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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