segfaulting on x86_64 for latest version

Dan Yefimov dan at D00M.lightwave.net.ru
Tue Apr 11 03:56:19 EST 2006


On Sat, 8 Apr 2006, Andrei A. Voropaev wrote:

> Hi!
> 
> I've downloaded yesterday the version  openssh-4.3p2. Compiled and
> installed without problems. No optimization options were used, no PAM.
> 
> sshd starts also without any problem.
> 
> But when I try to connect to it, the connection is immidiately closed
> and I get in the dmesg the following
> 
> sshd[5246]: segfault at 00002aaaaabbfe40 rip 00002aaaaaab0bf3 rsp 00007fffffef54d0 error 7
> 
> 
> Here is the output from ldd
> 
>         libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0x00002aaaaabc1000)
>         libutil.so.1 => /lib/libutil.so.1 (0x00002aaaaae01000)
>         libz.so.1 => /lib/libz.so.1 (0x00002aaaaaf05000)
>         libnsl.so.1 => /lib/libnsl.so.1 (0x00002aaaab019000)
>         libcrypt.so.1 => /lib/libcrypt.so.1 (0x00002aaaab130000)
>         libresolv.so.2 => /lib/libresolv.so.2 (0x00002aaaab265000)
>         libc.so.6 => /lib/libc.so.6 (0x00002aaaab379000)
>         libdl.so.2 => /lib/libdl.so.2 (0x00002aaaab597000)
>         /lib64/ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2 (0x00002aaaaaaab000)
> 
>From ldd output and kernel error line you provided I suspect a bug in your 
glibc, namely in dynamic loader /lib64/ld-linux-x86-64.so.2. OpenSSH 3.9p1 is 
fine with it, while later releases somehow provoke that bug.
-- 

    Sincerely Your, Dan.




More information about the openssh-unix-dev mailing list