[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Issues with libssh.so.4.1.2 in Solaris 10


Hello,
We see segmentation errors and libssh crashes when we use the following
environment (This is our customer environment):

> ssh -V
OpenSSH_5.2p1, OpenSSL 0.9.8e 23 Feb 2007

> echo $LD_LIBRARY_PATH
/usr/lib/lwp:/usr/lib:/usr/openwin/lib:/usr/dt/lib:/opt/SUNWspro/lib:/us
r/local/lib:/prod/netsmart7.0/lib:/prod/nsoracle/product/10g/lib32:/prod
/nsoracle/product/10g/lib:/usr/ucblib:/prod/nsjava/jre/lib:/prod/nsjava/
jre/lib/sparc/server:/prod/nsjava/jre/lib/sparc:/prod/nsjava/lib

> crle
Configuration file [version 4]: /var/ld/ld.config    Default Library Path
(ELF):
/lib:/usr/lib:/usr/krb5/lib:/usr/vendor/sybase/lib:/usr/local/lib
  Trusted Directories (ELF):    /lib/secure:/usr/lib/secure

> ldd /usr/local/bin/ssh
        libresolv.so.2 =>        /usr/lib/libresolv.so.2
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libgssapi_krb5.so.2 =>   /usr/krb5/lib/libgssapi_krb5.so.2
        libkrb5.so.3 =>  /usr/krb5/lib/libkrb5.so.3
        libk5crypto.so.3 =>      /usr/krb5/lib/libk5crypto.so.3
        libcom_err.so.3 =>       /usr/krb5/lib/libcom_err.so.3
        libc.so.1 =>     /usr/lib/libc.so.1
        libmp.so.2 =>    /usr/lib/libmp.so.2
        libmd.so.1 =>    /usr/lib/libmd.so.1
        libscf.so.1 =>   /usr/lib/libscf.so.1
        libkrb5support.so.0 =>   /usr/krb5/lib/libkrb5support.so.0
        libdoor.so.1 =>  /usr/lib/libdoor.so.1
        libuutil.so.1 =>         /usr/lib/libuutil.so.1
        libgen.so.1 =>   /usr/lib/libgen.so.1
        libm.so.2 =>     /usr/lib/libm.so.2
        /platform/SUNW,SPARC-Enterprise-T5120/lib/libc_psr.so.1
        /platform/SUNW,SPARC-Enterprise-T5120/lib/libmd_psr.so.1


The problematic frames are :
-----------------------------------------------------------------
# Problematic frame:
# C  [libcrypto.so.0.9.8+0x8d7bc]  BN_CTX_end+0x2c

# Problematic frame:
# C  [libc.so.1+0x570cc]

# Problematic frame:
# C  0x00000000

--------------------------------------------------------------


But, it works perfectly fine in this environment (i.e no crashes in libssh
in our environment):

> ssh -V
Sun_SSH_1.1, SSH protocols 1.5/2.0, OpenSSL 0x0090704f

> echo $LD_LIBRARY_PATH
/usr/lib/lwp:/usr/lib:/usr/openwin/lib:/usr/dt/lib:/opt/SUNWspro/lib:/usr/local/lib:/opt/netsmart7.0/lib:/opt/nsoracle/product/10g/lib32:/opt/nsoracle/product/10g/lib:/usr/ucblib:/opt/nsjava/jre/lib:/opt/nsjava/jre/lib/sparc/server:/opt/nsjava/jre/lib/sparc:/opt/nsjava/lib:/opt/netsmart7.0/install/expect/lib

> crle
Default configuration file (/var/ld/ld.config) not found
  Default Library Path (ELF):   /lib:/usr/lib  (system default)
  Trusted Directories (ELF):    /lib/secure:/usr/lib/secure  (system
default)

> ldd /usr/bin/ssh
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libz.so.1 =>     /usr/lib/libz.so.1
        libcrypto.so.0.9.7 =>    /usr/sfw/lib/libcrypto.so.0.9.7
        libgss.so.1 =>   /usr/lib/libgss.so.1
        libc.so.1 =>     /usr/lib/libc.so.1
        libmp.so.2 =>    /usr/lib/libmp.so.2
        libmd.so.1 =>    /usr/lib/libmd.so.1
        libscf.so.1 =>   /usr/lib/libscf.so.1
        libcmd.so.1 =>   /usr/lib/libcmd.so.1
        libdoor.so.1 =>  /usr/lib/libdoor.so.1
        libuutil.so.1 =>         /usr/lib/libuutil.so.1
        libgen.so.1 =>   /usr/lib/libgen.so.1
        libcrypto_extra.so.0.9.7 =>
/usr/sfw/lib/libcrypto_extra.so.0.9.7
        libm.so.2 =>     /usr/lib/libm.so.2
        /platform/FJSV,GPUZC-M/lib/libc_psr.so.1
        /platform/FJSV,GPUZC-M/lib/libmd_psr.so.1


Does anyone have an idea as to why this is happening? Any pointers to
resolve the issue are very much appreciated. Thanks for your help.


UT.

Follow-Ups:
Re: Issues with libssh.so.4.1.2 in Solaris 10Andreas Schneider <asn@xxxxxxxxxxxxxx>
Re: Issues with libssh.so.4.1.2 in Solaris 10U T <cooluday@xxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org