segfaulting on x86_64 for latest version

Darren Tucker dtucker at
Sat Apr 8 20:11:13 EST 2006

Andrei A. Voropaev wrote:
> 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

What version of OpenSSL and zlib did you compile with?

Could you please run ssh and sshd in debug mode and see where the crash 
occurs?  (eg run "/path/to/sshd -ddd -p 2022" then connect to port 2022 
with "ssh -vvv -p 2022 yourserver").

Also, if sshd generates a core dump, can you feed it to gdb and get a 
backtrace ("gdb /path/to/sshd core" the "bt").

Darren Tucker (dtucker at
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
     Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.

More information about the openssh-unix-dev mailing list