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

RE: Issues with libssh.so.4.1.2 in Solaris 10


Hi,

   It is posible that if you change your LD_LIBRARY_PATH, getting  "/usr/sfw/lib" path before "/usr/local/lib" it works, because "/usr/sfw/lib" path is installed by default in solaris 10.

   I think this proof is faster, and in new versions of libssh you don't need to change your Makefile.

Regards,

Ruben.


________________________________________
De: Aris Adamantiadis [aris@xxxxxxxxxxxx]
Enviado el: sábado, 05 de marzo de 2011 11:19
Para: libssh@xxxxxxxxxx
Asunto: Re: Issues with libssh.so.4.1.2 in Solaris 10

Hi,

The problem I see is that libssh is compiled with an other version of
openssl (especially the headers) than the version it's linked with.
This can create very strange problems like unexplained segmentation faults.

Normally it shouldn't happen if you have symbol/librairy versionning,
but I have no idea how it works on solaris ...

Here it's very possible that the version of openssl in usr/local is
very different from the version bundled with solaris.

A solution would be to compile libssh with a static version of
libcrypto. That will for sure grow the size of the lib but will remove
some of the loading problems.

Aris

Le 05/03/11 01:34, U T a écrit :
> Hello Andreas,
> I see some differences in the way libssh libraries are dynamically
> linked at the customer location and I feel that might be causing an
> issue. Do you see any issues in the way libssh.so is dynamically linked?
> The following are the results from our environment and and our
> customers' . The differences are captured in bold letters.
>
> Our Environment: (works fine)
> ----------------------------------
>> ldd libssh.so
>         libsocket.so.1 =>        /usr/lib/libsocket.so.1
>         libnsl.so.1 =>   /usr/lib/libnsl.so.1
>         libresolv.so.2 =>        /usr/lib/libresolv.so.2
>         librt.so.1 =>    /usr/lib/librt.so.1
>         libz.so.1 =>     /usr/lib/libz.so.1
>         libssl.so.0.9.7 =>       /usr/sfw/lib/libssl.so.0.9.7
>         libcrypto.so.0.9.7 =>    /usr/sfw/lib/libcrypto.so.0.9.7
>         libgcc_s.so.1 =>         /usr/sfw/lib/libgcc_s.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
>         libaio.so.1 =>   /usr/lib/libaio.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
>        *libssl_extra.so.0.9.7 =>         /usr/sfw/lib/libssl_extra.so.0.9.7
>         libcrypto_extra.so.0.9.7 =>
> /usr/sfw/lib/libcrypto_extra.so.0.9.7*
>         libm.so.2 =>     /usr/lib/libm.so.2
>         /platform/SUNW,SPARC-Enterprise-T5220/lib/libc_psr.so.1
>         /platform/SUNW,SPARC-Enterprise-T5220/lib/libmd_psr.so.1
>
>
> Customer Environment: (see segmentation errors)
> ---------------------------------------------------------
> bash-3.00# ldd libssh.so
>         libsocket.so.1 =>        /usr/lib/libsocket.so.1
>         libnsl.so.1 =>   /usr/lib/libnsl.so.1
>         libresolv.so.2 =>        /usr/lib/libresolv.so.2
>         librt.so.1 =>    /usr/lib/librt.so.1
>         libz.so.1 =>     /usr/lib/libz.so.1
>         libssl.so.0.9.7 =>       /usr/*local*/lib/libssl.so.0.9.7
>         libcrypto.so.0.9.7 =>    /usr/*local*/lib/libcrypto.so.0.9.7
>         libgcc_s.so.1 =>         /usr/sfw/lib/libgcc_s.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
>         libaio.so.1 =>   /usr/lib/libaio.so.1
>         *libdl.so.1 =>    /usr/lib/libdl.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
>         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
>
> Thanks,
> UT.
>
>
> On Wed, Mar 2, 2011 at 10:29 AM, U T <cooluday@xxxxxxxxx
> <mailto:cooluday@xxxxxxxxx>> wrote:
>
>     Thanks Garcia,
>     I will try changing the openssl and give it a shot.
>
>     Thanks,
>     UT.
>
>
>     Hi.
>
>        Firstly, I have to indicate that I could not test the new
>     version, but with the previus version of libssh, openssl 0.9.8
>     doesn't work properly, there are machines where is impossible do
>     the connection.
>
>        In my case, I solve it using openssl 1.0.0. With this libcrypto,
>     I can not find problems at connect.
>
>        It is possible for you, I could test with the new openssl (1.0.0).
>
>     Regards.
>
>
>     On Tue, Mar 1, 2011 at 3:15 PM, U T <cooluday@xxxxxxxxx
>     <mailto:cooluday@xxxxxxxxx>> wrote:
>
>         Hello Andreas,
>         Thanks for your quick reply. The following is the back trace showing some of the problematic frames. Please let me know if you find anything or have any suggestions for me. I really appreciate your help.
>
>
>
>
>         Thanks,
>         UT.
>
>         ---------------------------------------------------------------------------------------------------------------------------------
>
>         [func]    leaving function ssh_userauth_autopubkey line 794 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/auth.c
>
>
>
>         Authentication with pubkey failed for the sever 170.127.28.184 : Sending SSH2_MSG_SERVICE_REQUEST failed.
>         ssh error is : Sending SSH2_MSG_SERVICE_REQUEST failed.[func]    entering function ssh_disconnect line 679 in /vob/IEM_3rdparty/3rdparty/libssh/libssh
>
>
>
>         -0.4.5/libssh/client.c
>         [func]     entering function packet_send2 line 472 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/packet.c
>         [3] Writing on the wire a packet having 16 bytes before
>         [3] 16 bytes after comp + 11 padding bytes = 28 bytes packet
>
>
>
>         [3] Encrypting packet with seq num: 4, len: 32
>         [func]      entering function packet_write line 450 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/packet.c
>         [func]       entering function ssh_socket_write line 356 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/socket.c
>
>
>
>         [func]       leaving function ssh_socket_write line 368 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/socket.c
>         [func]       entering function ssh_socket_blocking_flush line 594 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/socket.c
>
>
>
>         [func]        entering function ssh_socket_completewrite line 301 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/socket.c
>         [func]        leaving function ssh_socket_completewrite line 318 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/socket.c
>
>
>
>         [func]       leaving function ssh_socket_blocking_flush line 627 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/socket.c
>         [func]      leaving function packet_write line 458 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/packet.c
>
>
>
>         [func]     leaving function packet_send2 line 533 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/packet.c
>         [func]    leaving function ssh_disconnect line 707 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/client.c
>
>
>
>         log.SmartLogObjectProxy: Initializing queues
>         [func]        leaving function ssh_socket_wait_for_data line 427 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/socket.c
>         [func]        entering function ssh_socket_read line 331 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/socket.c
>
>
>
>         [func]         entering function ssh_socket_wait_for_data line 390 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/socket.c
>         [func]        leaving function ssh_socket_read line 342 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/socket.c
>
>
>
>         [3] Decrypting 16 bytes
>         [3] Packet size decrypted: 28 (0x1c)
>         [func]        entering function ssh_socket_wait_for_data line 390 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/socket.c
>         [func]        leaving function ssh_socket_wait_for_data line 427 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/socket.c
>
>
>
>         [func]        entering function ssh_socket_read line 331 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/socket.c
>         [func]         entering function ssh_socket_wait_for_data line 390 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/socket.c
>
>
>
>         [func]         leaving function ssh_socket_wait_for_data line 395 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/socket.c
>         [func]        leaving function ssh_socket_read line 342 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/socket.c
>
>
>
>         [3] Read a 28 bytes packet
>         [3] Decrypting 16 bytes
>         [func]        entering function ssh_socket_read line 331 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/socket.c
>         [func]         entering function ssh_socket_wait_for_data line 390 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/socket.c
>
>
>
>         [func]         leaving function ssh_socket_wait_for_data line 395 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/socket.c
>         [func]        leaving function ssh_socket_read line 342 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/socket.c
>
>
>
>         [3] 10 bytes padding, 27 bytes left in buffer
>         [3] After padding, 17 bytes left in buffer
>         [func]       leaving function packet_read2 line 230 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/packet.c
>         [func]       entering function packet_translate line 405 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/packet.c
>
>
>
>         [3] Final size 17
>         [3] Type 6
>         [func]       leaving function packet_translate line 425 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/packet.c
>         [func]      leaving function packet_wait2 line 808 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/packet.c
>
>
>
>         [3] Received SSH_MSG_SERVICE_ACCEPT (service ssh-userauth)
>         [func]     leaving function ssh_service_request line 467 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/client.c
>         [func]    leaving function ask_userauth line 62 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/auth.c
>
>
>
>         #
>         # A fatal error has been detected by the Java Runtime Environment:
>         #
>         #  SIGSEGV (0xb) at pc=0xff1d6e88, pid=21692, tid=217
>         #
>         # JRE version: 6.0_20-b02
>         # Java VM: Java HotSpot(TM) Server VM (16.3-b01 mixed mode solaris-sparc )
>
>
>
>         # Problematic frame:
>         # C  [libc.so.1+0x56e88]
>         #
>         # An error report file with more information is saved as:
>         # /prod/Repository/hs_err_pid21692.log
>
>         ---------------------------------------------------------------------------------------------------------------------------------
>
>
>
>
>         [func]     leaving function ssh_userauth_none line 245 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/auth.c
>         [func]    leaving function ssh_userauth_autopubkey line 794 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/auth.c
>
>
>
>         Authentication with pubkey failed for the sever 170.127.28.184 : Sending SSH2_MSG_SERVICE_REQUEST failed.
>         ssh error is : Sending SSH2_MSG_SERVICE_REQUEST failed.[func]    entering function ssh_disconnect line 679 in /vob/IEM_3rdparty/3rdparty/libssh/libssh
>
>
>
>         -0.4.5/libssh/client.c
>         [func]     entering function packet_send2 line 472 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/packet.c
>         [3] Writing on the wire a packet having 16 bytes before
>         [3] 16 bytes after comp + 11 padding bytes = 28 bytes packet
>
>
>
>         [3] Encrypting packet with seq num: 4, len: 32
>         [func]      entering function packet_write line 450 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/packet.c
>         [func]       entering function ssh_socket_write line 356 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/socket.c
>
>
>
>         [func]       leaving function ssh_socket_write line 368 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/socket.c
>         [func]       entering function ssh_socket_blocking_flush line 594 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/socket.c
>
>
>
>         [func]        entering function ssh_socket_completewrite line 301 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/socket.c
>         [func]        leaving function ssh_socket_completewrite line 318 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/socket.c
>
>
>
>         [func]       leaving function ssh_socket_blocking_flush line 627 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/socket.c
>         [func]      leaving function packet_write line 458 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/packet.c
>
>
>
>         [func]     leaving function packet_send2 line 533 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/packet.c
>         [func]    leaving function ssh_disconnect line 707 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/client.c
>
>
>
>         [func]   leaving function signature_verify line 1036 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/dh.c
>         [func]  leaving function dh_handshake line 384 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/client.c
>
>
>
>         [func] leaving function ssh_connect line 626 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/client.c
>         [func] entering function ssh_is_server_known line 1567 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/keyfiles.c
>
>
>
>         [func]  entering function ssh_get_knownhost_line line 1265 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/keyfiles.c
>         [func]  leaving function ssh_get_knownhost_line line 1321 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/keyfiles.c
>
>
>
>         [func]  entering function match_hashed_host line 1457 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/keyfiles.c
>         [func]  leaving function ssh_is_server_known line 1649 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/keyfiles.c
>
>
>
>         SSH_SERVER_KNOWN_OK while connecting to Host : 166.59.43.150
>         [func]  entering function ssh_userauth_autopubkey line 789 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/auth.c
>         [func]   entering function ssh_userauth_none line 216 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/auth.c
>
>
>
>         [func]    entering function ask_userauth line 52 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/auth.c
>         [func]     entering function ssh_service_request line 428 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/client.c
>
>
>
>         [func]      entering function packet_send2 line 472 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/packet.c
>         [3] Writing on the wire a packet having 17 bytes before
>         [3] 17 bytes after comp + 10 padding bytes = 28 bytes packet
>
>
>
>         [3] Encrypting packet with seq num: 3, len: 32
>         [func]       entering function packet_write line 450 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/packet.c
>         [func]        entering function ssh_socket_write line 356 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/socket.c
>
>
>
>         [func]        leaving function ssh_socket_write line 368 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/socket.c
>         [func]        entering function ssh_socket_blocking_flush line 594 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/socket.c
>
>
>
>         [func]         entering function ssh_socket_completewrite line 301 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/socket.c
>         [func]         leaving function ssh_socket_completewrite line 318 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/socket.c
>
>
>
>         [func]        leaving function ssh_socket_blocking_flush line 631 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/socket.c
>         [func]       leaving function packet_write line 458 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/packet.c
>
>
>
>         [func]      leaving function packet_send2 line 533 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/packet.c
>         [3] Sent SSH_MSG_SERVICE_REQUEST (service ssh-userauth)
>         [func]      entering function packet_wait2 line 768 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/packet.c
>
>
>
>         [func]       entering function packet_read2 line 71 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/packet.c
>         [func]        entering function ssh_socket_wait_for_data line 390 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/socket.c
>
>
>
>         #
>         # A fatal error has been detected by the Java Runtime Environment:
>         #
>         #  SIGSEGV (0xb) at pc=0xff1d6e88, pid=21210, tid=144
>         #
>         # JRE version: 6.0_20-b02
>         # Java VM: Java HotSpot(TM) Server VM (16.3-b01 mixed mode solaris-sparc )
>
>
>
>         # Problematic frame:
>         # C  [libc.so.1+0x56e88]
>         #
>         # An error report file with more information is saved as:
>         # /prod/Repository/hs_err_pid21210.log
>
>         ---------------------------------------------------------------------------------------------------------------------------------
>
>
>
>
>         [func]    entering function match_hashed_host line 1457 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/keyfiles.c
>         [func]  leaving function ssh_is_server_known line 1649 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/keyfiles.c
>
>
>
>         [func]    leaving function ssh_is_server_known line 1649 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/keyfiles.c
>         SSH_SERVER_KNOWN_OK while connecting to Host : 166.59.43.150
>         [func]  entering function ssh_userauth_autopubkey line 789 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/auth.c
>
>
>
>         SSH_SERVER_KNOWN_OK while connecting to Host : 170.127.28.184
>         [func]    entering function ssh_userauth_autopubkey line 789 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/auth.c
>         [func]     entering function ssh_userauth_none line 216 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/auth.c
>
>
>
>         [func]   entering function ssh_userauth_none line 216 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/auth.c
>         [func]    entering function ask_userauth line 52 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/auth.c
>
>
>
>         [func]      entering function ask_userauth line 52 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/auth.c
>         [func]       entering function ssh_service_request line 428 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/client.c
>
>
>
>         [func]     entering function ssh_service_request line 428 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/client.c
>         [func]        entering function packet_send2 line 472 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/packet.c
>
>
>
>         [3] Writing on the wire a packet having 17 bytes before
>         [3] 17 bytes after comp + 10 padding bytes = 28 bytes packet
>         [3] 17 bytes after comp + 10 padding bytes = 28 bytes packet
>         [3] Encrypting packet with seq num: 3, len: 32
>
>
>
>         [3] Encrypting packet with seq num: 3, len: 32
>         [func]         entering function packet_write line 450 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/packet.c
>         [func]          entering function ssh_socket_write line 356 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/socket.c
>
>
>
>         [func]          leaving function ssh_socket_write line 368 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/socket.c
>         [func]          entering function ssh_socket_blocking_flush line 594 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/socket.c
>
>
>
>         [func]           entering function ssh_socket_completewrite line 301 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/socket.c
>         [func]       entering function packet_write line 450 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/packet.c
>
>
>
>         [func]        entering function ssh_socket_write line 356 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/socket.c
>         [func]        leaving function ssh_socket_write line 368 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/socket.c
>
>
>
>         [func]        entering function ssh_socket_blocking_flush line 594 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/socket.c
>         [func]         entering function ssh_socket_completewrite line 301 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/socket.c
>
>
>
>         [func]           leaving function ssh_socket_completewrite line 318 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/socket.c
>         [func]         leaving function ssh_socket_completewrite line 318 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/socket.c
>
>
>
>         #
>         # A fatal error has been detected by the Java Runtime Environment:
>         #
>         #  SIGSEGV (0xb) at pc=0xff1d70cc, pid=18653, tid=219
>         #
>         # JRE version: 6.0_20-b02
>         # Java VM: Java HotSpot(TM) Server VM (16.3-b01 mixed mode solaris-sparc )
>
>         # Problematic frame:
>         # C [libc.so.1+0x570cc]
>         #
>         # An error report file with more information is saved as:
>         # /prod/Repository/hs_err_pid18653.log
>
>         ---------------------------------------------------------------------------------------------------------------------------------
>
>
>
>
>         [func]    leaving function packet_translate line 425 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/packet.c
>         [func]   leaving function packet_wait2 line 808 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/packet.c
>
>
>
>         [1] Got SSH_MSG_NEWKEYS
>
>         [func]   entering function make_sessionid line 494 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/dh.c
>         [func]   leaving function make_sessionid line 625 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/dh.c
>
>
>
>         [3] Set output algorithm to aes128-cbc
>         [3] Set input algorithm to aes128-cbc
>         [func]   leaving function signature_verify line 1036 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/dh.c
>         [func]   entering function generate_session_keys line 701 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/dh.c
>
>
>
>         [func]  leaving function dh_handshake line 384 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/client.c
>         [func]   leaving function generate_session_keys line 802 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/dh.c
>
>
>
>         [func]   entering function signature_verify line 1000 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/dh.c
>         [func] leaving function ssh_connect line 626 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/client.c
>
>
>
>         [func]    Going to verify a ssh-dss type signature
>         [func] entering function ssh_is_server_known line 1567 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/keyfiles.c
>         [func]  entering function ssh_get_knownhost_line line 1265 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/keyfiles.c
>
>
>
>         [func]  leaving function ssh_get_knownhost_line line 1321 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/keyfiles.c
>         [func]  entering function match_hashed_host line 1457 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/keyfiles.c
>
>
>
>         [func]   entering function match_hashed_host line 1457 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/keyfiles.c
>         [func]    entering function ssh_get_knownhost_line line 1265 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/keyfiles.c
>
>
>
>         [func]    leaving function ssh_get_knownhost_line line 1321 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/keyfiles.c
>         [func]    entering function match_hashed_host line 1457 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/keyfiles.c
>
>
>
>         [func]    leaving function ssh_is_server_known line 1649 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/keyfiles.c
>         SSH_SERVER_KNOWN_OK while connecting to Host : 170.127.28.184
>         [func]    entering function ssh_userauth_autopubkey line 789 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/auth.c
>
>
>
>         [func]     entering function ssh_userauth_none line 216 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/auth.c
>         [func]      entering function ask_userauth line 52 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/auth.c
>
>
>
>         [func]       entering function ssh_service_request line 428 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/client.c
>         [func]        entering function packet_send2 line 472 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/packet.c
>
>
>
>         [3] Writing on the wire a packet having 17 bytes before
>         [3] 17 bytes after comp + 10 padding bytes = 28 bytes packet
>         [3] Encrypting packet with seq num: 3, len: 32
>         #
>         # A fatal error has been detected by the Java Runtime Environment:
>
>
>
>         #
>         #  SIGSEGV (0xb) at pc=0x00000000, pid=21004, tid=217
>         #
>         # JRE version: 6.0_20-b02
>         # Java VM: Java HotSpot(TM) Server VM (16.3-b01 mixed mode solaris-sparc )
>         # Problematic frame:
>         # C  0x00000000
>         #
>
>
>
>         # An error report file with more information is saved as:
>         # /prod/Repository/hs_err_pid21004.log
>         [func]   leaving function signature_verify line 1036 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/dh.c
>
>
>
>         [func]  leaving function dh_handshake line 409 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/client.c
>         [func] leaving function ssh_connect line 606 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/client.c
>
>
>
>         [func] entering function ssh_disconnect line 679 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/client.c
>         [func] leaving function ssh_disconnect line 707 in /vob/IEM_3rdparty/3rdparty/libssh/libssh-0.4.5/libssh/client.c
>
>
>
>         [thread 138 also had an error]
>         #
>         # If you would like to submit a bug report, please visit:
>         #   http://java.sun.com/webapps/bugreport/crash.jsp
>
>
>         #
>
>
>         ---------------------------------------------------------------------------------------------------------------------------------
>
>
>
>
>
>
>
>
>
>         On Tuesday 01 March 2011 20:50:20 you wrote:
>
>
>
>>         > Hello,
>
>         Hi,
>
>         without a real backtrace we can't say much just guess.
>
>>         >
>>         > 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
>>
>>         >
>>         > --------------------------------------------------------------
>
>         This looks like a problem in OpenSSL.
>
>
>
>               -- andreas
>
>
>
>         On Tue, Mar 1, 2011 at 11:50 AM, U T <cooluday@xxxxxxxxx
>         <mailto:cooluday@xxxxxxxxx>> wrote:
>
>             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.
>
>
>
>

Este correo electrónico y, en su caso, cualquier fichero anexo al mismo, contiene información de carácter confidencial exclusivamente dirigida a su destinatario o destinatarios. Si no es vd. el destinatario indicado, queda notificado que la lectura, utilización, divulgación y/o copia sin autorización está prohibida en virtud de la legislación vigente. En el caso de haber recibido este correo electrónico por error, se ruega notificar inmediatamente esta circunstancia mediante reenvío a la dirección electrónica del remitente.
Evite imprimir este mensaje si no es estrictamente necesario.

This email and any file attached to it (when applicable) contain(s) confidential information that is exclusively addressed to its recipient(s). If you are not the indicated recipient, you are informed that reading, using, disseminating and/or copying it without authorisation is forbidden in accordance with the legislation in effect. If you have received this email by mistake, please immediately notify the sender of the situation by resending it to their email address.
Avoid printing this message if it is not absolutely necessary.

References:
Issues with libssh.so.4.1.2 in Solaris 10U T <cooluday@xxxxxxxxx>
Re: Issues with libssh.so.4.1.2 in Solaris 10U T <cooluday@xxxxxxxxx>
Re: Issues with libssh.so.4.1.2 in Solaris 10U T <cooluday@xxxxxxxxx>
Re: Issues with libssh.so.4.1.2 in Solaris 10U T <cooluday@xxxxxxxxx>
Re: Issues with libssh.so.4.1.2 in Solaris 10Aris Adamantiadis <aris@xxxxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org