Multiple GLIBC loaded
Ajit Kallingal
Ajit.Kallingal at Sun.COM
Fri Aug 8 01:10:15 UTC 2008
Hello,
We have a shared object common.so built on RedHat 6.2 ( kernel
2.2.14-5.0 ) with GCC egcs-2.91.66 and GLIBC versions as below.
$ rpm -qa | grep glibc
glibc-devel-2.1.3-15
glibc-2.1.3-15
compat-glibc-5.2-2.0.7.2
The binary when executed on a Red Hat Enterprise Linux Server release
5.1 ( kernel 2.6.18-53.el5 ) GLIBC versions as below.
$ rpm -qa | grep glibc
glibc-2.5-18
glibc-devel-2.5-18
glibc-common-2.5-18
glibc-headers-2.5-18
glibc-devel-2.5-18
glibc-2.5-18
I find my threads deadlocked by use of multiple versions of GLIC, is
there a way to get around to use one version of GLIBC ?
I would prefer not to re-build on a RH5 box as this would be a big
effort for us. Any workaround possible on our old build box RH6.2 ?
(gdb) where
#0 0xffffe405 in __kernel_vsyscall ()
#1 0x003ab4bc in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
#2 0x003ab965 in pthread_cond_timedwait at GLIBC_2.0 () from
/lib/libpthread.so.0
#3 0xf7faa9ed in cEvnt_::Wait () from /home/Linux5/client/bin/common.so
#4 0xf7eb189e in GetNxtEvnt () from
/home/Linux5/egate/client/bin/stc_stcapis.dll
#5 0x0804b60a in ServMain (cArgc=1, pArgv=0xff8e93bc) at
/home/build/Linux5/src/svcmain.cxx:147
#6 0xf7fbb8c5 in Service_::Start () from /home/Linux5/client/bin/common.so
#7 0x0804ae8e in main (argc=13, argv=0xff8e9904) at
/home/build/Linux5/src/main.cxx:349
(gdb)
Thanks and Regards
Ajit
More information about the redhat-list
mailing list