This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[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()
- From: "jason.vas.dias at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 18 May 2016 19:21:34 +0000
- Subject: [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()
- Auto-submitted: auto-generated
- References: <bug-20105-131 at http dot sourceware dot org/bugzilla/>
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.