|
From: Alex I. <ale...@in...> - 2004-08-26 22:22:34
|
Gentlemen,
This is the first time I see this problem with valgrind 2.1.2 and only
happening on a machine running MontaVista Real-Time Linux.
What happens is that the application starts up normally without
valgrind. If spawned in valgrind, I get the following:
[root@caesar:
/inet/SimProbe/DefaultRoot/inet/opt/INETsys/V5.0.4.002/intel-linux/bin]#
ValgrindApp /inet/os/intel-linux/bin/nameServer
/inet/inet/os/intel-linux/bin/nameServer: relocation error:
/lib/librt.so.1: symbol __pthread_clock_settime, version GLIBC_2.2.3 not
defined in file libpthread.so.0 with link time reference
Segmentation fault
That symbol is not used by the application ... Affected libraries info:
glibc v1.2
libc v2.2.5
librt v2.2.5
libpthread v0.9
Symbol __pthread_clock lookup in the libraries yield:
scmvm3{agi}: nm /lib/librt.so.1 | grep pthread_clock
w __pthread_clock_gettime@@GLIBC_2.2.3
w __pthread_clock_settime@@GLIBC_2.2.3
scmvm3{agi}: nm /lib/libpthread.so.0 | grep pthread_clock
0000cbfc T __pthread_clock_gettime
0000cd14 T __pthread_clock_settime
Any ideas about how to correct or circumvent this would be greatly
appreciated!
Alex
--
Alex G. Ivershen Inet Technologies, Inc.
Network Products Dept. 1500 N. Greenville Ave.
Inet Technologies Inc. Richardson, TX 75081
Phone: +1-469-330-4295 USA
------------------------------------------------------------------------
Confidentiality Notice: This e-mail transmission may contain
confidential and/or privileged information that is intended only for the
individual or entity named in the e-mail address. If you are not the
intended recipient, you are hereby notified that any disclosure,
copying, distribution or reliance upon the contents of this e-mail
message is strictly prohibited. If you have received this e-mail
transmission in error, please reply to the sender, so that proper
delivery can be arranged, and please delete the message from your
computer. Thank you.
Inet Technologies, Inc.
------------------------------------------------------------------------
|
|
From: Tom H. <th...@cy...> - 2004-08-26 23:01:16
|
In message <412...@in...>
Alex Ivershen <ale...@in...> wrote:
> [root@caesar:
> /inet/SimProbe/DefaultRoot/inet/opt/INETsys/V5.0.4.002/intel-linux/bin]#
> ValgrindApp /inet/os/intel-linux/bin/nameServer
> /inet/inet/os/intel-linux/bin/nameServer: relocation error:
> /lib/librt.so.1: symbol __pthread_clock_settime, version GLIBC_2.2.3 not
> defined in file libpthread.so.0 with link time reference
> Segmentation fault
This is a variant of FAQ 3.4 and I hope it is fixed in the CVS HEAD code.
Tom
--
Tom Hughes (th...@cy...)
Software Engineer, Cyberscience Corporation
http://www.cyberscience.com/
|
|
From: Alex I. <ale...@in...> - 2004-08-27 17:37:49
|
Everything worked after removing this and recompiling:
GLIBC_PRIVATE {
__pthread_clock_gettime;
__pthread_clock_settime;
};
Thanks!
Alex
Tom Hughes wrote:
>In message <412...@in...>
> Alex Ivershen <ale...@in...> wrote:
>
>
>
>>[root@caesar:
>>/inet/SimProbe/DefaultRoot/inet/opt/INETsys/V5.0.4.002/intel-linux/bin]#
>>ValgrindApp /inet/os/intel-linux/bin/nameServer
>>/inet/inet/os/intel-linux/bin/nameServer: relocation error:
>>/lib/librt.so.1: symbol __pthread_clock_settime, version GLIBC_2.2.3 not
>>defined in file libpthread.so.0 with link time reference
>>Segmentation fault
>>
>>
>
>This is a variant of FAQ 3.4 and I hope it is fixed in the CVS HEAD code.
>
>Tom
>
>
>
------------------------------------------------------------------------
Confidentiality Notice: This e-mail transmission may contain
confidential and/or privileged information that is intended only for the
individual or entity named in the e-mail address. If you are not the
intended recipient, you are hereby notified that any disclosure,
copying, distribution or reliance upon the contents of this e-mail
message is strictly prohibited. If you have received this e-mail
transmission in error, please reply to the sender, so that proper
delivery can be arranged, and please delete the message from your
computer. Thank you.
Inet Technologies, Inc.
------------------------------------------------------------------------
|
|
From: Tom H. <th...@cy...> - 2004-08-27 17:49:36
|
In message <412...@in...>
Alex Ivershen <ale...@in...> wrote:
> Everything worked after removing this and recompiling:
>
> GLIBC_PRIVATE {
> __pthread_clock_gettime;
> __pthread_clock_settime;
> };
I'd be interested in knowing if the CVS HEAD works as is. What that
does is to provide both versions of the symbol.
Tom
--
Tom Hughes (th...@cy...)
Software Engineer, Cyberscience Corporation
http://www.cyberscience.com/
|