Red Hat Bugzilla – Bug 147777
libsafe causes programs using libc-5.4.46-4 to segfault
Last modified: 2007-11-30 17:11:00 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; X11; Linux i686) Opera
Description of problem:
This depends on the mix of libraries.
Using, in particular, libc-5.4.46-4.i686.rpm and ld.so-1.9.9-11.i686.
rpm to run /opt/WordPerfect8/wpbin/xwp will cause xwp to segfault.
Removing libsafe allows xwp to run normally.
$ ldd /opt/WordPerfect8/wpbin/xwp
libXt.so.6 => /usr/lib/libc5/libXt.so.6 (0xb7f92000)
libX11.so.6 => /usr/lib/libc5/libX11.so.6 (0xb7f00000)
libXpm.so.4 => /usr/lib/libc5/libXpm.so.4 (0xb7ef2000)
libm.so.5 => /usr/lib/libc5/libm.so.5 (0xb7eea000)
libc.so.5 => /usr/lib/libc5/libc.so.5 (0xb7e2a000)
libSM.so.6 => /usr/lib/libc5/libSM.so.6 (0xb7e22000)
libICE.so.6 => /usr/lib/libc5/libICE.so.6 (0xb7e0e000)
If instead, using libc-5.3.12-31.i386.rpm and ld.so-1.9.9-11.i686.
rpm, running xwp gives
/opt/WordPerfect8/wpbin/xwp: can't resolve symbol '_rtld_global'
/opt/WordPerfect8/wpbin/xwp: can't resolve symbol '_rtld_global_ro'
Those symbols seem to be from /lib/libdl.so.2, called by /lib/
libsafe.so.2 right after /usr/i386-glibc21-linux/lib/ld-linux.so.2 is
I see the exact same behavior, using each library, with an old libc
Version-Release number of selected component (if applicable):
Steps to Reproduce:
The messages above seem to indicate that you are using a version of libsafe
compiled for a different glibc than what you are using. I think this is a design
limitation of libsafe.
libsafe would need to be compiled against the old libc-5 library to work for
those, which might make it not work for anything newer. I don't really think
this is supportable in a generic way.
Yes, the base libc is glibc from glibc-2.3.4-2.fc3 and libc-5 is a compatability
library. I looked at the libsafe Avaya Labs Research website. They
* libc5 linked programs are not supported.
So I guess that is that. Still, if someone really wanted to, there might be
ways to work with LD_PRELOAD or /etc/ld.so.preload, or possibly LD_LIBRARY_PATH,
so that libsafe was not invoked for libc-5 programs. A wrapper script could
clear LD_PRELOAD before running a libc-5 program, for instance.
FC3 and FC4 have now been EOL'd.
Please check the ticket against a current Fedora release, and either adjust the
release number, or close it if appropriate.
Your friendly BZ janitor :-)
Closing this since it doesn't apply to current releases