vinay.purohit at nomura.com
2010-Feb-05 07:43 UTC
Segmentation Fault while compiling and installing openssh-3.9p1
I am trying to compile and install openssh-3.9p1 (with openssl-0.9.7j) on my personal dev env to have a play. I get the below mentioned segmentation fault message. --------- Generating public/private rsa1 key pair. /bin/sh: line 1: 10901 Segmentation fault ./ssh-keygen -t rsa1 -f /home/vinay/var/vinay_ssh/etc/ssh_host_key -N "" Generating public/private dsa key pair. /bin/sh: line 1: 10902 Segmentation fault ./ssh-keygen -t dsa -f /home/vinay/var/vinay_ssh/etc/ssh_host_dsa_key -N "" Generating public/private rsa key pair. /bin/sh: line 1: 10903 Segmentation fault ./ssh-keygen -t rsa -f /home/vinay/var/vinay_ssh/etc/ssh_host_rsa_key -N "" make: *** [host-key] Error 139 --------- My configure and install script looks something like this ./configure --with-libs=-ldl --includedir=$HOME/var/vinay_ssh/include --prefix=$HOME/var/vinay_ssh --exec_prefix=$HOME/var/vinay_ssh --with-ssl-dir=$HOME/var/openssl make clean make install Config steps shows this OpenSSH has been configured with the following options: User binaries: /home/vinay/var/vinay_ssh/bin System binaries: /home/vinay/var/vinay_ssh/sbin Configuration files: /home/vinay/var/vinay_ssh/etc Askpass program: /home/vinay/var/vinay_ssh/libexec/ssh-askpass Manual pages: /home/vinay/var/vinay_ssh/man/manX PID file: /var/run Privilege separation chroot path: /var/empty sshd default user PATH: /usr/bin:/bin:/usr/sbin:/sbin:/home/vinay/var/vinay_ssh/bin Manpage format: doc PAM support: no KerberosV support: no Smartcard support: no S/KEY support: no TCP Wrappers support: no MD5 password support: no IP address in $DISPLAY hack: no Translate v4 in v6 hack: yes BSD Auth support: no Random number source: OpenSSL internal ONLY Host: x86_64-unknown-linux-gnu Compiler: gcc Compiler flags: -g -O2 -Wall -Wpointer-arith -Wno-uninitialized Preprocessor flags: -I/home/vinay/var/openssl/include Linker flags: -L/home/vinay/var/openssl/lib Libraries: -lcrypto -lutil -lz -lnsl -ldl -lcrypt -lresolv -lresolv Can someone shed light on why could the segmentation fault be generated ? Regds Vinay This e-mail (including any attachments) is confidential, may contain proprietary or privileged information and is intended for the named recipient(s) only. Unintended recipients are prohibited from taking action on the basis of information in this e-mail and must delete all copies. Nomura will not accept responsibility or liability for the accuracy or completeness of, or the presence of any virus or disabling code in, this e-mail. If verification is sought please request a hard copy. Any reference to the terms of executed transactions should be treated as preliminary only and subject to formal written confirmation by Nomura. Nomura reserves the right to monitor e-mail communications through its networks (in accordance with applicable laws). No confidentiality or privilege is waived or lost by Nomura by any mistransmission of this e-mail. Any reference to "Nomura" is a reference to any entity in the Nomura Holdings, Inc. group. Please read our Electronic Communications Legal Notice which forms part of this e-mail: http://www.Nomura.com/email_disclaimer.htm
Chris Wilson
2010-Feb-05 09:04 UTC
Segmentation Fault while compiling and installing openssh-3.9p1
Hi Vinay, On Fri, 5 Feb 2010, vinay.purohit at nomura.com wrote:> I am trying to compile and install openssh-3.9p1 (with openssl-0.9.7j) > on my personal dev env to have a play. I get the below mentioned > segmentation fault message.I'm not quite sure where you got the impression that people would give up their free time to debug a five-year old version of OpenSSH and a three-year old version of OpenSSL. I certainly wouldn't. If you're reporting a bug in OpenSSH, you could at least do everyone the courtesy of trying with the latest version, to ensure that it's not a bug that's already been fixed in the last five years, and thus a complete waste of time to investigate and fix again. Also you did not provide nearly enough information about your platform, nor a debugger backtrace of the segmentation fault. Cheers, Chris. -- _ ___ __ _ / __/ / ,__(_)_ | Chris Wilson <0000 at qwirx.com> - Cambs UK | / (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer | \ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |
Darren Tucker
2010-Feb-05 10:52 UTC
Segmentation Fault while compiling and installing openssh-3.9p1
vinay.purohit at nomura.com wrote:> I am trying to compile and install openssh-3.9p1 (with openssl-0.9.7j)That openssh version is 6 years old and the openssl version is 4 years old.> on my personal dev env to have a play. I get the below mentioned > segmentation fault message. > > --------- > Generating public/private rsa1 key pair. > /bin/sh: line 1: 10901 Segmentation fault ./ssh-keygen -t rsa1 -fI'm guessing it's crashing in libcrypto, which probably means it's broken. Does openssl's self-test ("make test") pass? How about with current versions of both? -- Darren Tucker (dtucker at zip.com.au) 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.
Maybe Matching Threads
- Gluster failure due to "0-management: Lock not released for <volumename>"
- [LLVMdev] LoopInfo analysis in CallGraphSCCPass
- [LLVMdev] LoopInfo analysis in CallGraphSCCPass
- Suddenly one printer stops to print
- Gluster failure due to "0-management: Lock not released for <volumename>"